From bc182f1392c1899bf66f308d3587455ef1034b2e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 28 四月 2021 11:52:21 +0800 Subject: [PATCH] fix 日志时间问题 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java | 41 +++++++++++++++++------------------------ 1 files changed, 17 insertions(+), 24 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java index b26c922..e389f5d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java @@ -1,12 +1,18 @@ package com.ruoyi.system.domain.vo; +import lombok.*; +import lombok.experimental.Accessors; + /** * 璺敱鏄剧ず淇℃伅 - * + * * @author ruoyi */ -public class MetaVo -{ + +@Data +@NoArgsConstructor +@Accessors(chain = true) +public class MetaVo { /** * 璁剧疆璇ヨ矾鐢卞湪渚ц竟鏍忓拰闈㈠寘灞戜腑灞曠ず鐨勫悕瀛� */ @@ -17,33 +23,20 @@ */ private String icon; - public MetaVo() - { - } + /** + * 璁剧疆涓簍rue锛屽垯涓嶄細琚� <keep-alive>缂撳瓨 + */ + private boolean noCache; - public MetaVo(String title, String icon) - { + public MetaVo(String title, String icon) { this.title = title; this.icon = icon; } - public String getTitle() - { - return title; - } - - public void setTitle(String title) - { + public MetaVo(String title, String icon, boolean noCache) { this.title = title; - } - - public String getIcon() - { - return icon; - } - - public void setIcon(String icon) - { this.icon = icon; + this.noCache = noCache; } + } -- Gitblit v1.9.3