diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index 405851ef4..87e1a2360 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -274,7 +274,14 @@ class Ipa365Controller extends BaseController{ 'order_id' => $orderId, 'user_id' => $userId, 'game_id' => $gameId - ))); + ))); + //获取礼包码 + $giftbag = M('giftbag', 'tab_')->field("*")->where(array("game_id"=>$gameId,"giftbag_version"=>3))->find(); + if(empty($giftbag)){ + $giftbag = false; + } + + $this->assign('giftbag', $giftbag); $this->display(); } diff --git a/Application/Sdk/View/default/Ipa365/install_show.html b/Application/Sdk/View/default/Ipa365/install_show.html index a7efd34f7..97ddb4e05 100644 --- a/Application/Sdk/View/default/Ipa365/install_show.html +++ b/Application/Sdk/View/default/Ipa365/install_show.html @@ -125,29 +125,33 @@ p,input{
[ 高级宝图*2、财神银匙*1 ]
-- - - 复制 -
-