From 0daa3ad939fe6a89922e9d4069f05670a934c089 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Thu, 9 May 2024 16:47:55 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseController.class.php | 2 +- webapp/controller/OutAppNftController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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');