This commit is contained in:
hujiabin 2024-05-09 16:47:55 +08:00
parent caa0e0c8a1
commit 0daa3ad939
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ class BaseController {
}
$channel = $str_list[0];
$gameId = $str_list[1];
if ($channel != BC_CHANNEL) {
if ($channel != BC_POLY_CHANNEL) {
return false;
}
if ($gameId != $this->_getGameId()) {

View File

@ -44,7 +44,7 @@ class OutAppNftController extends BaseController {
public function getWebInfo(){
$channel = getReqVal('channel', '');
$openId = getReqVal('openId', '');
$accountId = BC_CHANNEL.'_'.$this->_getGameId().'_'.$channel.'_'.$openId;
$accountId = BC_POLY_CHANNEL.'_'.$this->_getGameId().'_'.$channel.'_'.$openId;
$userDb = User::find($accountId);
if (!$userDb){
$this->_rspErr(1, 'user not found');