From b84e59d5299efb7b097bc42beb2094eb2adb652f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E5=B7=9D?= Date: Tue, 29 Mar 2022 05:39:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=AE=A4=E8=AF=81=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user/user_routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user/user_routes.py b/user/user_routes.py index a7642d7..9127303 100644 --- a/user/user_routes.py +++ b/user/user_routes.py @@ -178,8 +178,7 @@ def company_verify(**kwargs): uo = UserOperation() uo.cid = kwargs['cid'] info = uo.real_company_verify() - status = 200 if info == '认证成功' else 210 - return {"info": info}, status + return {"info": info}, 200 @user_route.route('/verify_email', methods=['POST'])