lqmac 1 year ago
parent 0dbbf4aa6e
commit e4c71db410
  1. 6
      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'));
}

Loading…
Cancel
Save