From 38b57d8ad65437e574bf1036c9c49dc1b7479da8 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:06:08 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B6=85=E7=BA=A7?= =?UTF-8?q?=E7=AD=BE=E6=94=AF=E4=BB=98url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/View/default/Ipa365/pay.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/View/default/Ipa365/pay.html b/Application/Sdk/View/default/Ipa365/pay.html index 1bb04584d..6b8f9916e 100644 --- a/Application/Sdk/View/default/Ipa365/pay.html +++ b/Application/Sdk/View/default/Ipa365/pay.html @@ -69,7 +69,7 @@ {$price}元
支付宝 From 77c1f1c6d9e8a6fee6c473b4e8280bbd7e8f0c78 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:12:32 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/Ipa365Controller.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index 782f2ad17..018a4e144 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -150,8 +150,8 @@ class Ipa365Controller extends BaseController{ $param['payway'] = 1; $param['title'] = $price; $param['body'] = $price; - $param['callback'] = "https://api.wmtxkj.com/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}"; - $param['notifyurl'] = "https://api.wmtxkj.com/callback.php/Notify/notify/apitype/alipay"; + $param['callback'] = "https://m.wmtxkj.com/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}"; + $param['notifyurl'] = "https://m.wmtxkj.com/callback.php/Notify/notify/apitype/alipay"; $ret = $this->alipay($param); From 32b325eb36714a194a3ace10c40d84aa60240fab Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:31:41 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=9B=9E=E8=B0=83=E4=B8=8D=E5=81=9A?= =?UTF-8?q?=E7=99=BB=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/Ipa365Controller.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index 018a4e144..44c23e724 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -214,8 +214,13 @@ class Ipa365Controller extends BaseController{ public function install_show() { $orderId = I('order_id', 0); $gameId = I('game_id', 0); + $userId = I('user_id', 0); - $userId = $_SESSION['user_id']; + $user = M('user', 'tab_')->where(array( + 'id' => $userId + ))->find(); + +// $userId = $_SESSION['user_id']; if (!$userId ) { $this->error("请登入", "/mobile.php/ssg/login"); } From 7ba207b7ddc3752c3c000fcea642f049418129da Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:42:53 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2=20?= =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=99=BB=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/Ssg/order.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Mobile/View/Ssg/order.html b/Application/Mobile/View/Ssg/order.html index 1e752618c..5ba994a79 100644 --- a/Application/Mobile/View/Ssg/order.html +++ b/Application/Mobile/View/Ssg/order.html @@ -26,7 +26,7 @@
    -
  • +
  • 订单编号:{$data.order_id}

    @@ -54,10 +54,10 @@
From e2af2869bf66943dc0bef5569ed9eb5328f6e634 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:46:49 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2=20?= =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=99=BB=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/Ssg/order.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Mobile/View/Ssg/order.html b/Application/Mobile/View/Ssg/order.html index 5ba994a79..a9fa77510 100644 --- a/Application/Mobile/View/Ssg/order.html +++ b/Application/Mobile/View/Ssg/order.html @@ -26,7 +26,7 @@