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