Browse Source

查看权限

xiaochan 11 months ago
parent
commit
3fcb18118b

+ 1 - 1
src/main/java/thyyxxk/webserver/service/settings/SettingsService.java

@@ -110,7 +110,7 @@ public class SettingsService {
 
     public ResultVo<IPage<UserInfo>> getAllUsers(PersonnelQueryConditions param) {
         IPage<UserInfo> page = new Page<>(param.getCurrentPage(), param.getPageSize(), param.getTotal() == 0);
-        if (publicServer.needRule(1, 2, 62)) {
+        if (publicServer.needRule(1, 2, 62, 19)) {
             return ResultVoUtil.success(dao.selectAllUsers(page, personnelQuery(param)));
         }
         return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "你没有查看的权限.");