diff --git a/src/dinner.py b/src/dinner.py index d7358ae..fa37830 100644 --- a/src/dinner.py +++ b/src/dinner.py @@ -93,7 +93,7 @@ def dinner_update(): print(user_agent_string) if not is_mobile_request(user_agent_string): abort(403) - if check_roll() != -1: + if check_roll() == -1: return make_response(json.dumps(dict(code=-1, data="来晚了,提交失败"))) user_menu = request.args.get('value').strip() nickname = request.args.get('nickname').strip()