|
@@ -165,7 +165,7 @@ class WxService extends BaseService
|
|
|
'mchid' => $config['mch_id'],
|
|
'mchid' => $config['mch_id'],
|
|
|
'description' => $description,
|
|
'description' => $description,
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
- 'notify_url' => "https://pbbaby.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
|
|
|
|
+ 'notify_url' => "https://billiards.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'total' => fixed2Float($amount * 100),
|
|
'total' => fixed2Float($amount * 100),
|
|
|
'currency' => 'CNY'
|
|
'currency' => 'CNY'
|
|
@@ -208,7 +208,7 @@ class WxService extends BaseService
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
"out_refund_no" => $out_trade_no,
|
|
"out_refund_no" => $out_trade_no,
|
|
|
"reason" => $description,
|
|
"reason" => $description,
|
|
|
- 'notify_url' => "https://pbbaby.xunsoftware.com/api.php/api/callback/wxrefund",
|
|
|
|
|
|
|
+ 'notify_url' => "https://billiards.xunsoftware.com/api.php/api/callback/wxrefund",
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'refund' => fixed2Float($refund_amount * 100),
|
|
'refund' => fixed2Float($refund_amount * 100),
|
|
|
'total' => fixed2Float($total_amount * 100),
|
|
'total' => fixed2Float($total_amount * 100),
|
|
@@ -243,7 +243,7 @@ class WxService extends BaseService
|
|
|
'mchid' => $config['mch_id'],
|
|
'mchid' => $config['mch_id'],
|
|
|
'description' => $description,
|
|
'description' => $description,
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
- 'notify_url' => "https://pbbaby.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
|
|
|
|
+ 'notify_url' => "https://billiards.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'total' => fixed2Float($amount * 100),
|
|
'total' => fixed2Float($amount * 100),
|
|
|
'currency' => 'CNY'
|
|
'currency' => 'CNY'
|
|
@@ -283,7 +283,7 @@ class WxService extends BaseService
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
'out_refund_no' => $out_trade_no,
|
|
'out_refund_no' => $out_trade_no,
|
|
|
'reason' => $description,
|
|
'reason' => $description,
|
|
|
- 'notify_url' => 'https://pbbaby.xunsoftware.com/api.php/api/callback/wxrefund',
|
|
|
|
|
|
|
+ 'notify_url' => 'https://billiards.xunsoftware.com/api.php/api/callback/wxrefund',
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'refund' => fixed2Float($refund_amount * 100),
|
|
'refund' => fixed2Float($refund_amount * 100),
|
|
|
'total' => fixed2Float($total_amount * 100),
|
|
'total' => fixed2Float($total_amount * 100),
|
|
@@ -318,7 +318,7 @@ class WxService extends BaseService
|
|
|
'mchid' => $config['mch_id'],
|
|
'mchid' => $config['mch_id'],
|
|
|
'description' => $description,
|
|
'description' => $description,
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
- 'notify_url' => "https://pbbaby.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
|
|
|
|
+ 'notify_url' => "https://billiards.xunsoftware.com/api.php/api/callback/wxpay",
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'total' => fixed2Float($amount * 100),
|
|
'total' => fixed2Float($amount * 100),
|
|
|
'currency' => 'CNY'
|
|
'currency' => 'CNY'
|
|
@@ -362,7 +362,7 @@ class WxService extends BaseService
|
|
|
'out_trade_no' => $out_trade_no,
|
|
'out_trade_no' => $out_trade_no,
|
|
|
"out_refund_no" => $out_trade_no,
|
|
"out_refund_no" => $out_trade_no,
|
|
|
"reason" => $description,
|
|
"reason" => $description,
|
|
|
- 'notify_url' => "https://pbbaby.xunsoftware.com/api.php/api/callback/wxrefund",
|
|
|
|
|
|
|
+ 'notify_url' => "https://billiards.xunsoftware.com/api.php/api/callback/wxrefund",
|
|
|
'amount' => [
|
|
'amount' => [
|
|
|
'refund' => $refund_amount * 100,
|
|
'refund' => $refund_amount * 100,
|
|
|
"total" => $total_amount * 100,
|
|
"total" => $total_amount * 100,
|