This commit is contained in:
aozhiwei 2022-05-23 20:07:12 +08:00
parent a6e921667b
commit 801f1bc6ad

View File

@ -383,8 +383,10 @@ class UserController extends BaseAuthedController {
} }
$channel = phpcommon\extractChannel($userDb['account_id']); $channel = phpcommon\extractChannel($userDb['account_id']);
if ($channel != BC_CHANNEL) { if ($channel != BC_CHANNEL) {
$this->_rspErr(1, 'not found'); if (SERVER_ENV != _ONLINE) {
return; $this->_rspErr(1, 'not found');
return;
}
} }
$this->_rspData(array( $this->_rspData(array(
'info' => User::info($userDb) 'info' => User::info($userDb)