Commit 9b7ff7a1 authored by fangzhipeng's avatar fangzhipeng

测试环境关闭验证

parent 96190a9f
......@@ -18,7 +18,7 @@ def login_require(func):
raise BussinessException(error_type.NEED_LOGIN)
#正式环境对token进行校验
# if not config.isDebug:
if not config.isDebug:
token = request.headers.get('token')
if not user_id or not token:
raise BussinessException(error_type.NEED_LOGIN)
......
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