修复BUG
This commit is contained in:
parent
237f643a7f
commit
05879ebcc5
|
@ -93,7 +93,7 @@ def dinner_update():
|
||||||
print(user_agent_string)
|
print(user_agent_string)
|
||||||
if not is_mobile_request(user_agent_string):
|
if not is_mobile_request(user_agent_string):
|
||||||
abort(403)
|
abort(403)
|
||||||
if check_roll() != -1:
|
if check_roll() == -1:
|
||||||
return make_response(json.dumps(dict(code=-1, data="来晚了,提交失败")))
|
return make_response(json.dumps(dict(code=-1, data="来晚了,提交失败")))
|
||||||
user_menu = request.args.get('value').strip()
|
user_menu = request.args.get('value').strip()
|
||||||
nickname = request.args.get('nickname').strip()
|
nickname = request.args.get('nickname').strip()
|
||||||
|
|
Loading…
Reference in New Issue