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

View File

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