소스 검색

****************************************提交分类************************************

weixinVSjinlai 4 년 전
부모
커밋
10fea6291f
1개의 변경된 파일4개의 추가작업 그리고 16개의 파일을 삭제
  1. 4 16
      equip-component/src/main/kotlin/com/persagy/server/Swagger3Config.kt

+ 4 - 16
equip-component/src/main/kotlin/com/persagy/server/Swagger3Config.kt

@@ -51,7 +51,7 @@ import org.springframework.web.method.HandlerMethod
 open class Swagger3Config {
 
     /** 标题 */
-    private val title = "数据中心 API"
+    private val title = "数据中心-定制报表接口 API"
     /** API 版本号 */
     private val version = "1.0"
 
@@ -62,7 +62,7 @@ open class Swagger3Config {
      */
     @Bean
     open fun openApi(): OpenAPI {
-        val contact = Contact().name("庞利祥").email("sybotan@126.com")
+        val contact = Contact().name("张维新").email("zhangweixin@sagacloud.sn")
         return OpenAPI()
             .components(
                 Components()
@@ -71,12 +71,12 @@ open class Swagger3Config {
                 Info()
                 .title(title)
                 .version(version)
-                .termsOfService("http://www.sybotan.com")
+                .termsOfService("http://www.persagy.com")
                 .contact(contact)
                 .license(
                     License()
                     .name("Apache 2.0")
-                    .url("http://www.sybotan.com")))
+                    .url("http://www.persagy.com")))
     }
 
 
@@ -94,18 +94,6 @@ open class Swagger3Config {
     }
 
     /**
-     * 默认分组
-     */
-    @Bean
-    open fun planarApiGroup(): GroupedOpenApi {
-        return GroupedOpenApi.builder()
-            .group("平面图")
-            .pathsToMatch("/planar/**")
-            .addOperationCustomizer(operationCustomizer)
-            .build()
-    }
-
-    /**
      * 字典分组
      */
     @Bean