From ce66514b081f271e7f3c9283d9f6b1bb24b254c9 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Mon, 12 Dec 2022 17:53:51 +0800 Subject: [PATCH] edit-sylive-hidden_share --- home/controllers/h5/market/sylive2/Item.php | 3 +++ home/views/h5/market/sylive2/item/agreement.php | 1 + home/views/h5/market/sylive2/item/detail.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home/controllers/h5/market/sylive2/Item.php b/home/controllers/h5/market/sylive2/Item.php index 0a7d19cf..fa623a8b 100644 --- a/home/controllers/h5/market/sylive2/Item.php +++ b/home/controllers/h5/market/sylive2/Item.php @@ -289,6 +289,9 @@ class Item extends Wx{ 'content' => $act['protocol'] ]; $this->data['info'] = $info; + //微信分享 + $wx_info = $this->share_info(); + $this->data['sign_package'] = $wx_info['sign_package']; $this->show_view('h5/market/sylive2/item/agreement'); } diff --git a/home/views/h5/market/sylive2/item/agreement.php b/home/views/h5/market/sylive2/item/agreement.php index 2ea0ef2c..441b49c5 100644 --- a/home/views/h5/market/sylive2/item/agreement.php +++ b/home/views/h5/market/sylive2/item/agreement.php @@ -17,4 +17,5 @@
返回
+load->view('h5/market/sylive2/hidden_wx_share') ?> \ No newline at end of file diff --git a/home/views/h5/market/sylive2/item/detail.php b/home/views/h5/market/sylive2/item/detail.php index 7a978386..4a3e3563 100644 --- a/home/views/h5/market/sylive2/item/detail.php +++ b/home/views/h5/market/sylive2/item/detail.php @@ -516,5 +516,5 @@ } }) -load->view('h5/market/sylive2/share_script')?> +load->view('h5/market/sylive2/hidden_wx_share')?> \ No newline at end of file