From 776c662b69cc8a23873187a803006666ce34567f Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Tue, 19 Mar 2024 09:55:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 1 + route/api.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 44413cbf..b4303960 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -835,6 +835,7 @@ class Auth extends BaseController if (!$sms_code && !env('APP_DEBUG')) { return app('json')->fail('验证码不正确'); } + $auth = Cache::get('u_try' . $data['auth_token']); $auth && Cache::delete('u_try' . $data['auth_token']); if (empty($auth)) { diff --git a/route/api.php b/route/api.php index f1a59147..479268ff 100644 --- a/route/api.php +++ b/route/api.php @@ -714,7 +714,6 @@ Route::group('api/', function () { Route::get('wechat/config', 'api.Wechat/jsConfig'); //图片验证码 Route::get('captcha', 'api.Auth/getCaptcha'); - //合并账号 Route::post('user/merge', 'api.Auth/merge');