|
|
@@ -21,6 +21,7 @@ public class SwaggerConfig {
|
|
21
|
21
|
private static final String business = "com.chinaitop.depot.business.controller;";
|
|
22
|
22
|
private static final String safeProduce = "com.chinaitop.depot.safeProduce.controller;";
|
|
23
|
23
|
private static final String storage = "com.chinaitop.depot.storage.controller;";
|
|
|
24
|
+ private static final String registration = "com.chinaitop.depot.registrationTable.controller;";
|
|
24
|
25
|
|
|
25
|
26
|
/**
|
|
26
|
27
|
* 1.添加包path
|
|
|
@@ -30,7 +31,7 @@ public class SwaggerConfig {
|
|
30
|
31
|
*/
|
|
31
|
32
|
private static String addPackage() {
|
|
32
|
33
|
StringBuilder countServer = new StringBuilder();
|
|
33
|
|
- countServer.append(business).append(safeProduce).append(storage);
|
|
|
34
|
+ countServer.append(business).append(safeProduce).append(storage).append(registration);
|
|
34
|
35
|
return countServer.toString();
|
|
35
|
36
|
}
|
|
36
|
37
|
|
|
|
@@ -48,7 +49,7 @@ public class SwaggerConfig {
|
|
48
|
49
|
return new ApiInfoBuilder()
|
|
49
|
50
|
.title("智能粮库管理平台api接口文档")
|
|
50
|
51
|
.description("药品管理,安全生产,安全检查")
|
|
51
|
|
- .termsOfServiceUrl("http://localhost:9111")
|
|
|
52
|
+ .termsOfServiceUrl("http://localhost:9001")
|
|
52
|
53
|
.version("1.0")
|
|
53
|
54
|
.build();
|
|
54
|
55
|
}
|