stanley-king 2 ماه پیش
والد
کامیت
353dacefe7
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      rdispatcher/proxy.php

+ 4 - 1
rdispatcher/proxy.php

@@ -145,8 +145,11 @@ class proxy
 
         $order->finish();
         refill\util::pop_queue_order($mchid, $mch_order, $order->order_time());
-        QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id, 'manual' => false]);
 
+        if(!$time_out) {
+            QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id, 'manual' => false]);
+        }
+        
         return true;
     }