From 517e8cf7ef6738eaeb551e17ed6039662f6d663e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 21 Aug 2019 18:35:10 +0800 Subject: [PATCH] 1 --- webapp/controller/PayController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/PayController.class.php b/webapp/controller/PayController.class.php index f1fd113..3e7a904 100644 --- a/webapp/controller/PayController.class.php +++ b/webapp/controller/PayController.class.php @@ -71,6 +71,7 @@ class PayController { } $nowtime = time(); $advice_url = ''; + $amount = 0.01; if (SERVER_ENV != _ONLINE) { $advice_url = "https://gamepay-test.kingsome.cn/webapp/index.php?c=PayNotify&a=payNotify"; } else { @@ -80,7 +81,7 @@ class PayController { 'MerchantNo' => self::MER_NO, 'MerchantOrderNo' => $orderid, 'PayType' => 'WxJsapi_OnLine', - 'Amount' => '0.01', + 'Amount' => $amount, 'Subject' => '1', 'Desc' => '1', 'CompanyNo' => self::COMPANY_NO,