This commit is contained in:
aozhiwei 2019-08-21 18:35:10 +08:00
parent cbd40f59af
commit 517e8cf7ef

View File

@ -71,6 +71,7 @@ class PayController {
} }
$nowtime = time(); $nowtime = time();
$advice_url = ''; $advice_url = '';
$amount = 0.01;
if (SERVER_ENV != _ONLINE) { if (SERVER_ENV != _ONLINE) {
$advice_url = "https://gamepay-test.kingsome.cn/webapp/index.php?c=PayNotify&a=payNotify"; $advice_url = "https://gamepay-test.kingsome.cn/webapp/index.php?c=PayNotify&a=payNotify";
} else { } else {
@ -80,7 +81,7 @@ class PayController {
'MerchantNo' => self::MER_NO, 'MerchantNo' => self::MER_NO,
'MerchantOrderNo' => $orderid, 'MerchantOrderNo' => $orderid,
'PayType' => 'WxJsapi_OnLine', 'PayType' => 'WxJsapi_OnLine',
'Amount' => '0.01', 'Amount' => $amount,
'Subject' => '1', 'Subject' => '1',
'Desc' => '1', 'Desc' => '1',
'CompanyNo' => self::COMPANY_NO, 'CompanyNo' => self::COMPANY_NO,