Преглед на файлове

Merge branch 'master' of http://101.36.160.140:21044/csc/csc-szls-business.git

gaodd преди 5 години
родител
ревизия
e774cbe290
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      src/main/java/com/unissoft/Swagger2Config.java
  2. 1 1
      src/main/resources/bootstrap.yml

+ 2 - 2
src/main/java/com/unissoft/Swagger2Config.java

@@ -31,7 +31,7 @@ public class Swagger2Config {
31 31
     @Bean
32 32
     public Docket CreateRestApi() {
33 33
         return new Docket(DocumentationType.SWAGGER_2)
34
-//                .host(swaggerHost)
34
+                .host(swaggerHost)
35 35
                 .apiInfo(apiInfo())
36 36
                 .select()
37 37
                 .apis(RequestHandlerSelectors.basePackage("com.unissoft"))
@@ -46,7 +46,7 @@ public class Swagger2Config {
46 46
         return new ApiInfoBuilder()
47 47
                 .title("csc-szls-business")
48 48
                 .description("业务服务Api")
49
-                .termsOfServiceUrl("http://localhost:9605")
49
+//                .termsOfServiceUrl("http://localhost:9605")
50 50
 //                .termsOfServiceUrl("http://172.16.0.46:9605")
51 51
                 .version("1.0")
52 52
                 .build();

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -11,7 +11,7 @@ eureka:
11 11
       # 向注册中心注册服务
12 12
       defaultZone: http://${eureka.instance.hostname}:9600/eureka
13 13
 swagger:
14
-  host: 10.10.1.25:9099
14
+  host: 101.36.160.140:21021/api
15 15
  
16 16
 spring:
17 17
   application: