|
|
@@ -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();
|