排序
This commit is contained in:
@@ -160,7 +160,10 @@ class OnlinePaymentService
|
||||
$payment->pay_params = $gatewayData;
|
||||
$payment->save();
|
||||
|
||||
return [$payment, $payment->pay_params];
|
||||
$wxjsapistr = $gatewayData['wxjsapistr'] ?? '{}';
|
||||
$wxjsapiData = json_decode($wxjsapistr);
|
||||
|
||||
return [$payment, $wxjsapiData];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -87,7 +87,7 @@ class WangpuPayService
|
||||
*/
|
||||
public function notifyUrl(): string
|
||||
{
|
||||
return rtrim((string) config('app.url'), '/') . '/mini/payment/notify';
|
||||
return rtrim((string) config('app.url'), '/') . '/index.php/mini/payment/notify';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user