efps-version
elf 1 year ago
parent 138ca07136
commit e9b3e79b56

@ -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));

@ -373,7 +373,7 @@ class PaymentService extends AbstractService
$log->token = $token;
$log->save();
return ['payUrl' => 'http://146.70.113.165:9501/payment.html?token=' . $token];
return ['payUrl' => env('WEB_HOST') . '/payment.html?token=' . $token];
}
public function query($params)

Loading…
Cancel
Save