允许超时提交

This commit is contained in:
Zane 2024-09-19 17:35:19 +08:00
parent 346bbf16bf
commit f32cdbb150
1 changed files with 1 additions and 1 deletions

View File

@ -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() != 0: 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()