Quellcode durchsuchen

超管才能修改财务权限

shish vor 2 Jahren
Ursprung
Commit
3891df30b5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app-ghs/controllers/ShopAdminController.php

+ 1 - 1
app-ghs/controllers/ShopAdminController.php

@@ -252,7 +252,7 @@ class ShopAdminController extends BaseController
         $ptSuperAdminId = AdminClass::getPtSuperAdminId();
         if ($shop->adminId != $adminId && $adminId != $ptSuperAdminId) {
             if ($finance == 1) {
-                util::fail('超管才能修改财务权限');
+                util::fail('超管才能修改财务权限' . $shop->adminId . ' ' . $adminId);
             }
             if ($switchShop == 1) {
                 util::fail('超管才能修改管理分店权限');