From f28101fb3551c9b27a4d4a73fef051f3d2397584 Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Thu, 26 Sep 2019 09:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E8=B7=B3=E8=BD=AC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/Controller/Ipa365Controller.class.php | 12 +++++++++--- Application/Sdk/View/default/Ipa365/pay.html | 4 ++-- Application/Sdk/View/default/Ipa365/paytip.html | 8 ++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index c76fafed1..a4a7453fc 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -132,7 +132,10 @@ class Ipa365Controller extends BaseController{ $param['notifyurl'] = "https://api.wmtxkj.com/callback.php/Notify/notify/apitype/alipay"; $ret = $this->alipay($param); - + $_SESSION['paytip_price']=self::signprice; + $_SESSION['paytip_order_id']=$orderId; + $_SESSION['paytip_url']=$ret['url']; + $this->assign("price", self::signprice); $this->assign("url", $ret['url']); $this->assign("order_id", $orderId); @@ -142,8 +145,11 @@ class Ipa365Controller extends BaseController{ $this->display(); } - public function paytip($jump_url){ - $this->assign("jump_url",$jump_url); + public function paytip(){ + $this->assign("price", $_SESSION['paytip_price']); + $this->assign("url", $_SESSION['paytip_url']); + $this->assign("order_id", $_SESSION['paytip_order_id']); + //$this->assign("jump_url",$jump_url); $this->display(); } diff --git a/Application/Sdk/View/default/Ipa365/pay.html b/Application/Sdk/View/default/Ipa365/pay.html index db46e5396..5cc44ed23 100644 --- a/Application/Sdk/View/default/Ipa365/pay.html +++ b/Application/Sdk/View/default/Ipa365/pay.html @@ -82,13 +82,13 @@