1
This commit is contained in:
parent
caa0e0c8a1
commit
0daa3ad939
@ -258,7 +258,7 @@ class BaseController {
|
|||||||
}
|
}
|
||||||
$channel = $str_list[0];
|
$channel = $str_list[0];
|
||||||
$gameId = $str_list[1];
|
$gameId = $str_list[1];
|
||||||
if ($channel != BC_CHANNEL) {
|
if ($channel != BC_POLY_CHANNEL) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($gameId != $this->_getGameId()) {
|
if ($gameId != $this->_getGameId()) {
|
||||||
|
@ -44,7 +44,7 @@ class OutAppNftController extends BaseController {
|
|||||||
public function getWebInfo(){
|
public function getWebInfo(){
|
||||||
$channel = getReqVal('channel', '');
|
$channel = getReqVal('channel', '');
|
||||||
$openId = getReqVal('openId', '');
|
$openId = getReqVal('openId', '');
|
||||||
$accountId = BC_CHANNEL.'_'.$this->_getGameId().'_'.$channel.'_'.$openId;
|
$accountId = BC_POLY_CHANNEL.'_'.$this->_getGameId().'_'.$channel.'_'.$openId;
|
||||||
$userDb = User::find($accountId);
|
$userDb = User::find($accountId);
|
||||||
if (!$userDb){
|
if (!$userDb){
|
||||||
$this->_rspErr(1, 'user not found');
|
$this->_rspErr(1, 'user not found');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user