This commit is contained in:
hujiabin 2023-07-11 16:25:16 +08:00
parent 2c1f15ceca
commit d62db91dd9

View File

@ -823,7 +823,7 @@ class UserController extends BaseAuthedController {
$this->_rspErr(1, 'address is empty'); $this->_rspErr(1, 'address is empty');
return; return;
} }
if (UserHonor::_isValidHonorType($token_type)) { if (!UserHonor::_isValidHonorType($token_type)) {
$this->_rspErr(1, 'token_type is error'); $this->_rspErr(1, 'token_type is error');
return; return;
} }