Browse Source

fleat: update status checkPermission

igb 21 hours ago
parent
commit
0052995334
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panel.php
  2. 1 1
      statistics_utils.php

+ 1 - 1
panel.php

@@ -69,7 +69,7 @@ $stmt->close();
             <?php endif; ?>
             <?php
             //权限角色为的时候显示统计分析
-            if(checkPermission(1,2))
+            if(checkPermission(1,2,3))
             {
 
              ?>

+ 1 - 1
statistics_utils.php

@@ -13,7 +13,7 @@ if (!isset($_SESSION['employee_id'])) {
 }
 
 //检查是否管理员
-checkPermissionDie(1,2);
+checkPermissionDie(1,2,3);
 
 
 /**