Browse Source

admin update

xiaoyu 3 years ago
parent
commit
e1f3d4c322
1 changed files with 3 additions and 1 deletions
  1. 3 1
      admin/control/refill_order_manual.php

+ 3 - 1
admin/control/refill_order_manual.php

@@ -65,7 +65,9 @@ class refill_order_manualControl extends SystemControl
         } else {
         } else {
             showMessage('手动操作类型错误', 'index.php?act=refill_order&op=index');
             showMessage('手动操作类型错误', 'index.php?act=refill_order&op=index');
         }
         }
-        $mod_refill->edit($order_id, ['notify_state' =>1, 'notify_time' => time()]);
+        if($refill_info['notify_time'] == 0) {
+            $mod_refill->edit($order_id, ['notify_state' =>1, 'notify_time' => time()]);
+        }
         util::pop_queue_order($refill_info['mchid'],$refill_info['mch_order']);
         util::pop_queue_order($refill_info['mchid'],$refill_info['mch_order']);
         QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id, 'manual' => true]);
         QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id, 'manual' => true]);