From 0358dc233a46363d7864d882e0146e56d10ffb27 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 21 十月 2022 13:02:52 +0800
Subject: [PATCH] update springboot 2.7.4 => 2.7.5 update springboot-admin 2.7.5 => 2.7.6 update springdoc 1.6.11 => 1.6.12 update poi 5.2.2 => 5.2.3 update hutool 5.8.7=>5.8.8 update aws-s3 1.12.300 => 1.12.324 update aliyun-sms 2.0.18 => 2.0.22 update tencent-sms 3.1.591 => 3.1.611

---
 ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java |   39 ++++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 19 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 05a2e12..ec1f02e 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,7 +1,7 @@
 package com.ruoyi.system.domain.vo;
 
-import lombok.*;
-import lombok.experimental.Accessors;
+import com.ruoyi.common.utils.StringUtils;
+import lombok.Data;
 
 /**
  * 璺敱鏄剧ず淇℃伅
@@ -10,9 +10,8 @@
  */
 
 @Data
-@NoArgsConstructor
-@Accessors(chain = true)
 public class MetaVo {
+
     /**
      * 璁剧疆璇ヨ矾鐢卞湪渚ц竟鏍忓拰闈㈠寘灞戜腑灞曠ず鐨勫悕瀛�
      */
@@ -28,10 +27,10 @@
      */
     private boolean noCache;
 
-	/**
-	 * 鍐呴摼鍦板潃锛坔ttp(s)://寮�澶达級
-	 */
-	private String link;
+    /**
+     * 鍐呴摼鍦板潃锛坔ttp(s)://寮�澶达級
+     */
+    private String link;
 
     public MetaVo(String title, String icon) {
         this.title = title;
@@ -44,17 +43,19 @@
         this.noCache = noCache;
     }
 
-	public MetaVo(String title, String icon, String link) {
-		this.title = title;
-		this.icon = icon;
-		this.link = link;
-	}
+    public MetaVo(String title, String icon, String link) {
+        this.title = title;
+        this.icon = icon;
+        this.link = link;
+    }
 
-	public MetaVo(String title, String icon, boolean noCache, String link) {
-		this.title = title;
-		this.icon = icon;
-		this.noCache = noCache;
-		this.link = link;
-	}
+    public MetaVo(String title, String icon, boolean noCache, String link) {
+        this.title = title;
+        this.icon = icon;
+        this.noCache = noCache;
+        if (StringUtils.ishttp(link)) {
+            this.link = link;
+        }
+    }
 
 }

--
Gitblit v1.9.3