diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index c8ff7e4b..bf57fce0 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -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()) { diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index f072e72e..9b2e63e6 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -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');