This commit is contained in:
liu
2026-09-04 23:05:31 +08:00
parent c33247f214
commit 968054b9ff
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -160,7 +160,10 @@ class OnlinePaymentService
$payment->pay_params = $gatewayData; $payment->pay_params = $gatewayData;
$payment->save(); $payment->save();
return [$payment, $payment->pay_params]; $wxjsapistr = $gatewayData['wxjsapistr'] ?? '{}';
$wxjsapiData = json_decode($wxjsapistr);
return [$payment, $wxjsapiData];
} }
/** /**
+1 -1
View File
@@ -87,7 +87,7 @@ class WangpuPayService
*/ */
public function notifyUrl(): string public function notifyUrl(): string
{ {
return rtrim((string) config('app.url'), '/') . '/mini/payment/notify'; return rtrim((string) config('app.url'), '/') . '/index.php/mini/payment/notify';
} }
/** /**