refactor:菜单权限功能重构

This commit is contained in:
haoxr 2021-01-31 23:01:15 +08:00
parent fcfb9cff0e
commit 3e3cb43ab2
5 changed files with 5 additions and 5 deletions

View File

@ -26,8 +26,6 @@ public class SysMenu extends BaseEntity {
private Long parentId;
private Integer type;
private String path;
private String redirect;
@ -36,8 +34,6 @@ public class SysMenu extends BaseEntity {
private Integer sort;
private Integer visible;
private Integer status;
@TableField(exist = false)

View File

@ -28,6 +28,7 @@ public class MenuVO extends BaseEntity {
private Integer status;
@JsonInclude(value = JsonInclude.Include.NON_NULL)
private List<MenuVO> children;
}

View File

@ -1,6 +1,7 @@
package com.youlai.admin.pojo.vo;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import java.util.List;
@ -12,6 +13,7 @@ public class TreeSelectVO {
private String label;
@JsonInclude(value = JsonInclude.Include.NON_NULL)
private List<TreeSelectVO> children;
}

View File

@ -52,6 +52,7 @@ public class AuthController {
@ApiImplicitParam(name = "username", defaultValue = "admin", value = "登录用户名"),
@ApiImplicitParam(name = "password", defaultValue = "123456", value = "登录密码"),
// 微信小程序认证参数无小程序可忽略
@ApiImplicitParam(name = "code", value = "小程序code"),
@ApiImplicitParam(name = "encryptedData", value = "包括敏感数据在内的完整用户信息的加密数据"),
@ApiImplicitParam(name = "iv", value = "加密算法的初始向量"),

View File

@ -27,7 +27,7 @@ public enum QueryModeEnum {
return value;
}
}
return PAGE; // 默认分页
return null; // 默认分页
}
}