Browse Source

fix: telegram multiple notification issues

Tokumeikoi 4 years ago
parent
commit
20911fb669
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Guest/OrderController.php

+ 1 - 0
app/Http/Controllers/Guest/OrderController.php

@@ -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');
         }