mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 12:07:28 +08:00
fix: correct return_url generation for payment in frontend-backend separated deployment
This commit is contained in:
@@ -53,7 +53,7 @@ class PaymentService
|
||||
|
||||
return $this->payment->pay([
|
||||
'notify_url' => $notifyUrl,
|
||||
'return_url' => origin_url('/#/order/' . $order['trade_no']),
|
||||
'return_url' => source_base_url('/#/order/' . $order['trade_no']),
|
||||
'trade_no' => $order['trade_no'],
|
||||
'total_amount' => $order['total_amount'],
|
||||
'user_id' => $order['user_id'],
|
||||
|
||||
Reference in New Issue
Block a user