shish 4 лет назад
Родитель
Сommit
b23c362d59
2 измененных файлов с 11 добавлено и 11 удалено
  1. 0 11
      app-ghs/controllers/ShopController.php
  2. 11 0
      app-hd/controllers/ShopController.php

+ 0 - 11
app-ghs/controllers/ShopController.php

@@ -26,17 +26,6 @@ class ShopController extends BaseController
 
     public $guestAccess = ['all'];
 
-    public function actionCheckShop()
-    {
-        $get = Yii::$app->request->get();
-        $mobile = $get['mobile'] ?? '';
-        $shop = ShopClass::getByCondition(['mobile' => $mobile, 'ptStyle' => 1], true);
-        if (!empty($shop)) {
-            util::success(['has' => 1]);
-        }
-        util::success(['has' => 0]);
-    }
-
     //绑定零售店 ssh 20220430
     public function actionBindLsShop()
     {

+ 11 - 0
app-hd/controllers/ShopController.php

@@ -21,6 +21,17 @@ class ShopController extends BaseController
 
     public $guestAccess = ['all', 'gathering-img-url'];
 
+    public function actionCheckShop()
+    {
+        $get = Yii::$app->request->get();
+        $mobile = $get['mobile'] ?? '';
+        $shop = ShopClass::getByCondition(['mobile' => $mobile, 'ptStyle' => 1], true);
+        if (!empty($shop)) {
+            util::success(['has' => 1]);
+        }
+        util::success(['has' => 0]);
+    }
+
     //获取当前门店信息 ssh 2021.3.27
     public function actionCurrentShop()
     {