From b01ff154ea13cd184233d406eae828c1d41aba20 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 15:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A4=BC=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/Controller/Ipa365Controller.class.php | 9 +++- .../Sdk/View/default/Ipa365/install_show.html | 44 ++++++++------- .../View/default/Ipa365/install_show1.html | 53 ------------------- 3 files changed, 32 insertions(+), 74 deletions(-) delete mode 100644 Application/Sdk/View/default/Ipa365/install_show1.html 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 ]
-- - - 复制 -
-