Commit ee3fc7ec authored by lvshibao's avatar lvshibao

获取req信息

parent 0102402e
...@@ -18,7 +18,7 @@ def get_account_info(func): ...@@ -18,7 +18,7 @@ def get_account_info(func):
logger.info('req中的data为: ', req.COOKIES) logger.info('req中的data为: ', req.COOKIES)
# logger.info('req中的query_params为: ', req.query_params) # logger.info('req中的query_params为: ', req.query_params)
# logger.info('req中的query_params为: ', req.parsers()) # logger.info('req中的query_params为: ', req.parsers())
return func(req, *args, **kw) return func(obj, req, *args, **kw)
return account_info 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