Browse Source

花材同步问题

shish 2 years ago
parent
commit
4c6cb50156
1 changed files with 5 additions and 4 deletions
  1. 5 4
      console/controllers/ItemController.php

+ 5 - 4
console/controllers/ItemController.php

@@ -218,11 +218,12 @@ class ItemController extends Controller
     public function actionMt()
     {
         if (getenv('YII_ENV') == 'production') {
-            $mtMainId = 8980;
-            $ttMainId = 8502;
+            $mtMainId = 13495;
+            $ttMainId = 52;
         } else {
-            $mtMainId = 762;
-            $ttMainId = 644;
+            //$mtMainId = 762;
+            //$ttMainId = 644;
+            util::stop('测试环境未开通');
         }
         $list = ItemClass::getAllByCondition(['mainId' => $mtMainId], null, '*');
         if (!empty($list)) {