From 81aaa0412e50d425f7b4bac9a8161d83adf2876b Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Thu, 21 Nov 2019 16:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E4=BA=92T?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/GameGiftPageController.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/GameGiftPageController.class.php b/Application/Sdk/Controller/GameGiftPageController.class.php index abbfaf37..adb442f0 100644 --- a/Application/Sdk/Controller/GameGiftPageController.class.php +++ b/Application/Sdk/Controller/GameGiftPageController.class.php @@ -6,10 +6,13 @@ use Common\Api\GaemApi; class GameGiftPageController extends Controller{ public $userId; + public $userToken; public function _initialize() { // if (I("request.api_ver") == 2) { - BaseController::webH5Vetify(); + $user = BaseController::webH5Vetify(); + $this->userid = $user['userId']; + $this->userToken = $user['userToken']; // } } public function gift_list(){