|
|
|
@ -132,7 +132,7 @@ class Api extends AbstractApi
|
|
|
|
|
'payCurrency' => 'CNY',
|
|
|
|
|
'isInstalments' => 0,
|
|
|
|
|
'isSendSmsCode' => 2,
|
|
|
|
|
'notifyUrl' => 'http://146.70.113.165:9501/notify/payment',
|
|
|
|
|
'notifyUrl' => env('WEB_HOST') . '/notify/payment',
|
|
|
|
|
'transactionStartTime' => date('YmdHis'),
|
|
|
|
|
'nonceStr' => StringHelper::getRandomString(32),
|
|
|
|
|
];
|
|
|
|
@ -180,7 +180,7 @@ class Api extends AbstractApi
|
|
|
|
|
'refundAmount' => $refundAmount,
|
|
|
|
|
'amount' => $amount,
|
|
|
|
|
'remark' => $remark,
|
|
|
|
|
'notifyUrl' => 'http://146.70.113.165:9501/notify/refund',
|
|
|
|
|
'notifyUrl' => env('WEB_HOST') . '/notify/refund',
|
|
|
|
|
'nonceStr' => StringHelper::getRandomString(32),
|
|
|
|
|
];
|
|
|
|
|
$sign = Signer::sign(json_encode($params));
|
|
|
|
|