mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
refactor:菜单权限功能重构
This commit is contained in:
parent
fcfb9cff0e
commit
3e3cb43ab2
@ -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)
|
||||
|
@ -28,6 +28,7 @@ public class MenuVO extends BaseEntity {
|
||||
|
||||
private Integer status;
|
||||
|
||||
@JsonInclude(value = JsonInclude.Include.NON_NULL)
|
||||
private List<MenuVO> children;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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 = "加密算法的初始向量"),
|
||||
|
@ -27,7 +27,7 @@ public enum QueryModeEnum {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return PAGE; // 默认分页
|
||||
return null; // 默认分页
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user