shish 3 лет назад
Родитель
Сommit
108465539f
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      app-ghs/controllers/ShopAdminController.php

+ 0 - 7
app-ghs/controllers/ShopAdminController.php

@@ -48,13 +48,6 @@ class ShopAdminController extends BaseController
     //添加员工
     public function actionAddStaff()
     {
-        $shop = $this->shop;
-        $join = $shop->join ?? 0;
-        $default = $shop->default ?? 0;
-        if ($join == 0 && $default == 0) {
-            //util::fail('请在总店操作');
-        }
-
         $shopAdmin = $this->shopAdmin;
         if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
             util::fail('没有权限');