diff --git a/6.program/wms-empty/pom.xml b/6.program/wms-empty/pom.xml
index 6cfdff8..cf26262 100644
--- a/6.program/wms-empty/pom.xml
+++ b/6.program/wms-empty/pom.xml
@@ -16,6 +16,10 @@
com.mt
wms-core
+
+ com.mt
+ wms-basic
+
\ No newline at end of file
diff --git a/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/config/SwaggerConfig.java b/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/config/SwaggerConfig.java
index 2527682..ab89eda 100644
--- a/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/config/SwaggerConfig.java
+++ b/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/config/SwaggerConfig.java
@@ -59,6 +59,15 @@ public class SwaggerConfig {
.paths(PathSelectors.any())
.build();
}
+ @Bean
+ public Docket emptyApi() {
+ return new Docket(DocumentationType.SWAGGER_2).groupName("wms-empty")
+ .apiInfo(apiInfo("empty", "订单相关接口"))
+ .select()
+ .apis(RequestHandlerSelectors.basePackage("com.mt.wms.empty"))
+ .paths(PathSelectors.any())
+ .build();
+ }
private ApiInfo apiInfo(String title, String description) {// 创建API的基本信息,这些信息会在Swagger UI中进行显示
return new ApiInfoBuilder()