Преглед изворни кода

:recycle: 重构代码。调整swagger配置

冷冷 пре 7 година
родитељ
комит
e3640c5a32

+ 8 - 1
pigx-config/src/main/resources/config/application-dev.yml

@@ -45,4 +45,11 @@ ribbon:
   ReadTimeout: 10000
   ConnectTimeout: 10000
 
-
+`#swagger公共信息
+swagger:
+  description: '全宇宙最牛逼的Spring Cloud微服务开发脚手架'
+  version: '1.2.4'
+  contact:
+    name: '冷冷'
+    email: 'wangiegie@gmail.com'
+    url: 'https://gitee.wang/pig/pigx'

+ 0 - 7
pigx-config/src/main/resources/config/pigx-upms-dev.yml

@@ -40,13 +40,6 @@ mybatis-plus:
     cache-enabled: true
 # swagger相关配置
 swagger:
-  description: '全宇宙最牛逼的Spring Cloud微服务开发脚手架'
-  version: '1.2.4'
-  #base-package: com.pig4cloud.pigx.admin.controller
   exclude-path:
     - /actuator/**
     - /error
-  contact:
-    name: '冷冷'
-    email: 'wangiegie@gmail.com'
-    url: 'https://gitee.wang/pig/pigx'