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();
$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,