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')); }