mirror of
https://github.com/v2board/v2board.git
synced 2025-02-11 07:59:11 +08:00
fix: telegram multiple notification issues
This commit is contained in:
parent
31a222f3d8
commit
20911fb669
@ -157,6 +157,7 @@ class OrderController extends Controller
|
|||||||
private function handle($tradeNo, $callbackNo)
|
private function handle($tradeNo, $callbackNo)
|
||||||
{
|
{
|
||||||
$order = Order::where('trade_no', $tradeNo)->first();
|
$order = Order::where('trade_no', $tradeNo)->first();
|
||||||
|
if ($order->status === 1) return true;
|
||||||
if (!$order) {
|
if (!$order) {
|
||||||
abort(500, 'order is not found');
|
abort(500, 'order is not found');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user