This commit is contained in:
aozhiwei 2020-10-19 14:36:58 +08:00
parent 022cb7d645
commit bf49f87329

View File

@ -22,13 +22,13 @@ class UnifiedWeiXin extends BaseSdk {
'appid' => 'wx9b006ee01033cec7',
'mch_id' => '1509252791',
'nonce_str' => uniqid('201019'),
'body' => '',
'body' => '测试产品',
'out_trade_no' => uniqid('201019'),
'total_fee' => '0.01',
'total_fee' => '101',
'spbill_create_ip' => phpcommon\getIPv4(),
'notify_url' => 'https://gamepay.kingsome.cn/webapp/paynotify/unified_weixin.php',
'trade_type' => 'MWEB',
'scene_info' => '',
//'scene_info' => '',
);
if (SERVER_ENV != _ONLINE) {
$params['notify_url'] = 'https://gamepay-test.kingsome.cn/webapp/paynotify/unified_weixin.php';