This commit is contained in:
aozhiwei 2022-05-25 23:21:18 +08:00
parent 877585442b
commit acf7ca2897

View File

@ -383,7 +383,7 @@ 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) { if (SERVER_ENV == _ONLINE) {
$this->_rspErr(1, 'not found'); $this->_rspErr(1, 'not found');
return; return;
} }