Commit 8ffa0ee6 authored by lvshibao's avatar lvshibao

获取see_web返回的用户信息

parent d4281fbf
......@@ -35,7 +35,7 @@ def get_account_info(func):
cookie_jar = transfer_cookie(req.COOKIES)
info = requests.get('http://172.17.1.74:8248/getUserInfo', cookies=cookie_jar)
# logger.info('req中的query_params为: ', req.query_params)
logger.info('info中的text为: ' + info.content)
logger.info('info中的text为: ' + info.text)
return func(obj, req, *args, **kw)
return account_info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment