Commit 04aba455 authored by pengxiong's avatar pengxiong

qimsession

parent ba342c3f
......@@ -70,7 +70,7 @@ def add_errorhandler(app):
if request.headers.get('env') in ['ios', 'android']:
token = request.headers.get('tampToken', '')
elif request.headers.get('env') in ['wechat', 'xcx']:
token = request.cookies.get('sessionId', '')
token = request.cookies.get('qimsession', '')
if request.path in ['/tamp_order/micro_shop/topUpOrderNotify', '/tamp_order/micro_shop/consumeOrderNotify']:
pass
else:
......
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