stanley-king 1 mēnesi atpakaļ
vecāks
revīzija
a91cfde877
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      rdispatcher/proxy.php

+ 5 - 1
rdispatcher/proxy.php

@@ -326,8 +326,12 @@ class proxy
                 QueueClient::async_push("QueryOrderNeterr",['order_id' => $order_id],15);
                 $fError = false;
             }
-            elseif ($errcode === refill\errcode::MERCHANT_REFILL_CHLIMIT) {
+            elseif ($errcode === refill\errcode::MERCHANT_REFILL_CHLIMIT)
+            {
                 $fError = $reAdder($order, $order_id, $order_time, $mod_refill);
+                if ($fError and ($order->first_commit() === false) and $this->need_transfer($order) and $this->transfer($order)) {
+                    $fError = false;
+                }
             }
             elseif($errcode === refill\errcode::MERCHANT_REFILL_DBERROR) {
                 Log::record('MERCHANT_REFILL_DBERROR', Log::DEBUG);