mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49: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)
|
||||
{
|
||||
$order = Order::where('trade_no', $tradeNo)->first();
|
||||
if ($order->status === 1) return true;
|
||||
if (!$order) {
|
||||
abort(500, 'order is not found');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user