修复 变量传递问题
This commit is contained in:
parent
00189ae1ba
commit
1f8e979284
@ -107,10 +107,13 @@ public function notify(Request $request): View|JsonResponse
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 检测订单是否已支付
|
// 检测订单是否已支付
|
||||||
if ($balance->paid_at !== null) {
|
// if ($balance->paid_at !== null) {
|
||||||
// return $this->success('订单已支付');
|
// // return $this->success('订单已支付');
|
||||||
return view('balances.process', compact('balance'));
|
// return view('balances.process', compact('balance'));
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
return view('balances.process', compact('balance'));
|
||||||
|
|
||||||
// try {
|
// try {
|
||||||
// $data = Pay::alipay()->callback();
|
// $data = Pay::alipay()->callback();
|
||||||
@ -132,8 +135,6 @@ public function notify(Request $request): View|JsonResponse
|
|||||||
// throw new ChargeException('商户不匹配');
|
// throw new ChargeException('商户不匹配');
|
||||||
// }
|
// }
|
||||||
|
|
||||||
return view('balances.process');
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// if ((new \App\Jobs\CheckAndChargeBalance())->checkAndCharge($balance, true)) {
|
// if ((new \App\Jobs\CheckAndChargeBalance())->checkAndCharge($balance, true)) {
|
||||||
// return view('pay_process');
|
// return view('pay_process');
|
||||||
|
Loading…
Reference in New Issue
Block a user