fix: 非超级管理员限制无权限查看超级管理员账号的问题修复
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.youlai.boot.system.model.query;
|
||||
|
||||
import cn.hutool.db.sql.Direction;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.youlai.boot.common.base.BasePageQuery;
|
||||
import com.youlai.boot.common.annotation.ValidField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -36,11 +37,17 @@ public class UserPageQuery extends BasePageQuery {
|
||||
private List<String> createTime;
|
||||
|
||||
@Schema(description = "排序的字段")
|
||||
@ValidField(allowedValues = {"create_time","update_time"})
|
||||
@ValidField(allowedValues = {"create_time", "update_time"})
|
||||
private String field;
|
||||
|
||||
@Schema(description = "排序方式(正序:ASC;反序:DESC)")
|
||||
private Direction direction;
|
||||
|
||||
/**
|
||||
* 是否超级管理员
|
||||
*/
|
||||
@JsonIgnore
|
||||
@Schema(hidden = true)
|
||||
private Boolean isRoot;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user