修复BUG

This commit is contained in:
ZaneYork 2024-09-23 17:18:09 +08:00
parent 237f643a7f
commit 05879ebcc5
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() != -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()