From 29cc9da9349c893905407a2b971c4d9d90811bc8 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 08 一月 2022 19:15:16 +0800
Subject: [PATCH] update hutool 引入改为 bom 依赖项引入
---
ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java | 35 ++++++++++++++++++++++++++++++-----
1 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
index f99c3da..9c4cd23 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
@@ -5,8 +5,10 @@
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
+import java.util.List;
+
/**
- * 楠岃瘉鐮� 閰嶇疆灞炴��
+ * swagger 閰嶇疆灞炴��
*
* @author Lion Li
*/
@@ -41,23 +43,46 @@
*/
private Contact contact;
+ /**
+ * 缁勯厤缃�
+ */
+ private List<Groups> groups;
+
@Data
@NoArgsConstructor
- public static class Contact{
+ public static class Contact {
/**
* 鑱旂郴浜�
- **/
+ */
private String name;
+
/**
* 鑱旂郴浜簎rl
- **/
+ */
private String url;
+
/**
* 鑱旂郴浜篹mail
- **/
+ */
private String email;
}
+ @Data
+ @NoArgsConstructor
+ public static class Groups {
+
+ /**
+ * 缁勫悕
+ */
+ private String name;
+
+ /**
+ * 鍩虹鍖呰矾寰�
+ */
+ private String basePackage;
+
+ }
+
}
--
Gitblit v1.9.3