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 ]

    -

    - - - 复制兑换码 -

    -
  • + + +
    +
    +
    +

    特权礼包

    +
    +
    +
      +
    • +
      +

      {$giftbag['giftbag_name']}

      +
      +

      {$giftbag['desribe']}

      +

      + + + 复制兑换码 +

      +
    • -
    +
+
- + + diff --git a/Application/Sdk/View/default/Ipa365/install_show1.html b/Application/Sdk/View/default/Ipa365/install_show1.html deleted file mode 100644 index 7e88b4cc7..000000000 --- a/Application/Sdk/View/default/Ipa365/install_show1.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - 订单详情 - - - - -
-
- {$game['game_name']} -
-
-
- -
-
{$game['game_name']}-超级签
-
不同设备需要分别付费安装哦,请使用常用设备下载
- -
-
-
-

特权礼包

-
-
-
    -
  • -
    -

    《天宫计》至尊礼包

    -
    -

    [ 高级宝图*2、财神银匙*1 ]

    -

    - - - 复制 -

    -
  • - -
-
-
-
-
- - - - - \ No newline at end of file