From a1a098d15d4783f03fafaba781e055effa1fa2fb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 25 Jan 2024 14:18:56 +0800 Subject: [PATCH] 1 --- webapp/controller/BoxController.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/controller/BoxController.class.php b/webapp/controller/BoxController.class.php index fc84090c..0b5baa7d 100644 --- a/webapp/controller/BoxController.class.php +++ b/webapp/controller/BoxController.class.php @@ -37,10 +37,14 @@ class BoxController extends BaseAuthedController { public function requestReward() { $this->_rspData(array( - "item_list" => array() + "item_list" => array( + 'item_id' => V_ITEM_GOLD, + 1000 + ) )); $payload = ''; return; + /* $userInfo = $this->_getOrmUserInfo(); if (!$userInfo) { $this->_rspErr(1, 'Without this player1'); @@ -85,7 +89,7 @@ class BoxController extends BaseAuthedController { } $this->_rspData(array( "items" => $item - )); + ));*/ } }