From e4c71db4104567ade60bd0cdacc4b8e699bcca54 Mon Sep 17 00:00:00 2001 From: lqmac Date: Fri, 27 Oct 2023 09:33:26 +0800 Subject: [PATCH] 1 --- application/api/controller/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/controller/User.php b/application/api/controller/User.php index b6189f3..6db902a 100755 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -62,9 +62,9 @@ class User extends Api $account = $this->request->post('account'); $password = $this->request->post('password'); $code = $this->request->post('code'); - if (!$code) { - $this->error(__('未获取到微信授权,请退出重新打开链接')); - } + // if (!$code) { + // $this->error(__('未获取到微信授权,请退出重新打开链接')); + // } if (!$account || !$password) { $this->error(__('Invalid parameters')); }