mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-05-01 09:31:28 +08:00
update 优化 实体类统一使用包装类型
This commit is contained in:
@@ -31,7 +31,7 @@ public class MetaVo implements Serializable {
|
||||
/**
|
||||
* 设置为true,则不会被 <keep-alive>缓存
|
||||
*/
|
||||
private boolean noCache;
|
||||
private Boolean noCache;
|
||||
|
||||
/**
|
||||
* 内链地址(http(s)://开头)
|
||||
@@ -43,7 +43,7 @@ public class MetaVo implements Serializable {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public MetaVo(String title, String icon, boolean noCache) {
|
||||
public MetaVo(String title, String icon, Boolean noCache) {
|
||||
this.title = title;
|
||||
this.icon = icon;
|
||||
this.noCache = noCache;
|
||||
@@ -55,7 +55,7 @@ public class MetaVo implements Serializable {
|
||||
this.link = link;
|
||||
}
|
||||
|
||||
public MetaVo(String title, String icon, boolean noCache, String link) {
|
||||
public MetaVo(String title, String icon, Boolean noCache, String link) {
|
||||
this.title = title;
|
||||
this.icon = icon;
|
||||
this.noCache = noCache;
|
||||
|
||||
@@ -32,7 +32,7 @@ public class RouterVo implements Serializable {
|
||||
/**
|
||||
* 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
|
||||
*/
|
||||
private boolean hidden;
|
||||
private Boolean hidden;
|
||||
|
||||
/**
|
||||
* 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
|
||||
|
||||
Reference in New Issue
Block a user