update 优化 实体类统一使用包装类型

This commit is contained in:
疯狂的狮子Li
2025-04-14 09:33:36 +08:00
parent ee6c0388da
commit 142fb33d81
6 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@ public class MetaVo {
/**
* 设置为true则不会被 <keep-alive>缓存
*/
private boolean noCache;
private Boolean noCache;
/**
* 内链地址http(s)://开头)
@ -37,7 +37,7 @@ public class MetaVo {
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;
@ -49,7 +49,7 @@ public class MetaVo {
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;

View File

@ -27,7 +27,7 @@ public class RouterVo {
/**
* 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
*/
private boolean hidden;
private Boolean hidden;
/**
* 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击