shish hace 2 años
padre
commit
01cf5e6f79

+ 4 - 0
biz-ghs/shop/classes/ShopAdminClass.php

@@ -25,6 +25,10 @@ class ShopAdminClass extends BaseClass
         if ($staff->finance == 1) {
             $lookMoney = 1;
         }
+        $ptAdminId = AdminClass::getPtSuperAdminId();
+        if ($staff->adminId == $ptAdminId) {
+            $lookMoney = 1;
+        }
         return $lookMoney;
     }
 

+ 4 - 0
biz/shop/classes/ShopAdminClass.php

@@ -168,6 +168,10 @@ class ShopAdminClass extends BaseClass
         if ($shopAdmin->switchShop == 1) {
             $hasRight = 1;
         }
+        $ptAdminId = AdminClass::getPtSuperAdminId();
+        if ($shopAdmin->adminId == $ptAdminId) {
+            $hasRight = 1;
+        }
         return $hasRight;
     }