修改 状态
This commit is contained in:
parent
1ae301a78e
commit
ac48b764a4
@ -109,7 +109,7 @@ 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')->with('success', '我们成功处理了您的订单。');
|
return view('balances.process', compact('balance'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// try {
|
// try {
|
||||||
|
@ -3,9 +3,13 @@
|
|||||||
@section('title', '支付处理')
|
@section('title', '支付处理')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<h2>正在处理</h2>
|
@if ($balance->paid_at)
|
||||||
|
<h2>您已支付</h2>
|
||||||
<p>我们正在处理,您的余额很快就到账。</p>
|
<p>我们收到了您的支付,谢谢!</p>
|
||||||
|
@else
|
||||||
|
<h2>正在处理</h2>
|
||||||
|
|
||||||
|
<p>我们正在处理,您的余额很快就到账。</p>
|
||||||
|
@endif
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
Loading…
Reference in New Issue
Block a user