1
This commit is contained in:
parent
a6e921667b
commit
801f1bc6ad
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user