Explorar el Código

补充缺失的供货商

shish hace 4 años
padre
commit
199c837cf7
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      app-hd/controllers/GhsController.php

+ 14 - 0
app-hd/controllers/GhsController.php

@@ -138,4 +138,18 @@ class GhsController extends BaseController
         util::complete();
     }
 
+    //补充缺失的供货商 shish 20211027
+    public function actionBcGhs()
+    {
+        if (getenv('YII_ENV') == 'production') {
+            $ids = [1];
+        } else {
+            $ids = [2];
+        }
+        $hdShopId = $this->shopId ?? 0;
+        foreach ($ids as $ghsShopId) {
+            //CustomClass::build($ghsShopId, $hdShopId);
+        }
+    }
+
 }