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

+ 4 - 4
console/controllers/GlobalController.php

@@ -41,10 +41,10 @@ class GlobalController extends Controller
 
         if ($hour == '0030') {
             //惠雅鲜花 花样年华 显示库存
-            $sql = "UPDATE xhGhsCustom SET showStock=1 WHERE ownShopId IN (520,1489,1585,1596);";
-            Yii::$app->db->createCommand($sql)->execute();
-            $sql = "update xhGhs set showStock=1 where shopId in (520,1489,1585,1596);";
-            Yii::$app->db->createCommand($sql)->execute();
+//            $sql = "UPDATE xhGhsCustom SET showStock=1 WHERE ownShopId IN (520,1489,1585,1596);";
+//            Yii::$app->db->createCommand($sql)->execute();
+//            $sql = "update xhGhs set showStock=1 where shopId in (520,1489,1585,1596);";
+//            Yii::$app->db->createCommand($sql)->execute();
         }
 
         //每3分钟进行已完成支付订单处理:花材销量统计