shish 3 years ago
parent
commit
dac51b82ba
1 changed files with 7 additions and 0 deletions
  1. 7 0
      app-ghs/controllers/AdminController.php

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

@@ -303,6 +303,13 @@ class AdminController extends BaseController
             $lookAllShop = 1;
         }
 
+        //惠雅鲜花南员工不能看收入情况
+        $shopAdmin = $this->shopAdmin;
+        $adminId = $shopAdmin->adminId ?? 0;
+        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,919])) {
+            $this->shopAdmin->super = 0;
+        }
+
         util::success([
             'token' => '',
             'admin' => $admin,