From f087b37cb32b84ae841fc409ea00ed2f729d9c8e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 04 六月 2021 16:46:28 +0800 Subject: [PATCH] update 优化 锁切面代码 key到常量类 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 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 4a37fbc..f99c3da 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 @@ -2,7 +2,6 @@ import lombok.Data; import lombok.NoArgsConstructor; -import lombok.experimental.Accessors; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @@ -20,6 +19,10 @@ * 楠岃瘉鐮佺被鍨� */ private Boolean enabled; + /** + * 璁剧疆璇锋眰鐨勭粺涓�鍓嶇紑 + */ + private String pathMapping; /** * 楠岃瘉鐮佺被鍒� */ @@ -33,4 +36,28 @@ */ private String version; + /** + * 鑱旂郴鏂瑰紡 + */ + private Contact contact; + + @Data + @NoArgsConstructor + public static class Contact{ + + /** + * 鑱旂郴浜� + **/ + private String name; + /** + * 鑱旂郴浜簎rl + **/ + private String url; + /** + * 鑱旂郴浜篹mail + **/ + private String email; + + } + } -- Gitblit v1.9.3