shish 4 лет назад
Родитель
Сommit
d29f490740
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      console/controllers/GlobalController.php

+ 2 - 1
console/controllers/GlobalController.php

@@ -20,7 +20,8 @@ class GlobalController extends Controller
         $hour = (int)date("H");
         if ($hour >= 7 and $hour <= 23) {
             if ((int)date('i') % 50 == 0) {
-                ProductClass::allShopStockWarningFromQueue();
+                //暂时关闭库存预警
+                //ProductClass::allShopStockWarningFromQueue();
             }
         }