shish 3 lat temu
rodzic
commit
ab9e41b6de

+ 8 - 0
app-ghs/controllers/ShopExtController.php

@@ -5,6 +5,8 @@ namespace ghs\controllers;
 use biz\admin\classes\AdminRoleClass;
 use biz\product\classes\XjClass;
 use biz\shop\classes\ShopExtClass;
+use biz\wx\classes\WxMessageClass;
+use bizGhs\shop\classes\ShopClass;
 use common\components\printUtil;
 use common\components\util;
 use Yii;
@@ -79,6 +81,12 @@ class ShopExtController extends BaseController
     //获取云喇叭信息 ssh 20220105
     public function actionGetLb()
     {
+
+
+        $ghsShop = ShopClass::getById(36523);
+        $custom = \bizGhs\custom\classes\CustomClass::getById(537);
+        WxMessageClass::newGhsCustomInform($ghsShop, $custom);
+
         $shopId = $this->shopId;
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId]);
         util::success($ext);

+ 0 - 7
console/controllers/InitController.php

@@ -12,11 +12,4 @@ use yii\console\Controller;
 class InitController extends Controller
 {
 
-    public function actionCustom()
-    {
-        $ghsShop = ShopClass::getById(36523);
-        $custom = \bizGhs\custom\classes\CustomClass::getById(537);
-        WxMessageClass::newGhsCustomInform($ghsShop, $custom);
-    }
-
 }