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

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

@@ -443,6 +443,14 @@ class ShopController extends BaseController
             if ($mainId == 1459 && $adminId == 2812) {
                 util::fail('收银专用账号,不允许切换门店');
             }
+            //淘花里中山店
+            if ($mainId == 16948 && $adminId == 17908) {
+                util::fail('收银专用账号,不允许切换门店');
+            }
+            //淘花里小榄店
+            if ($mainId == 72057 && $adminId == 69792) {
+                util::fail('收银专用账号,不允许切换门店');
+            }
         }
 
         $shopAdmin = $this->shopAdmin;

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

@@ -216,6 +216,14 @@ class ShopController extends BaseController
             if ($mainId == 1459 && $adminId == 2812) {
                 util::fail('收银专用账号,不允许切换门店');
             }
+            //淘花里中山店
+            if ($mainId == 16948 && $adminId == 17908) {
+                util::fail('收银专用账号,不允许切换门店');
+            }
+            //淘花里小榄店
+            if ($mainId == 72057 && $adminId == 69792) {
+                util::fail('收银专用账号,不允许切换门店');
+            }
         }
 
         $shopAdmin = $this->shopAdmin;