diff --git a/promotion/promotion-application/pom.xml b/promotion/promotion-application/pom.xml index a83040df4..f00b8e4be 100644 --- a/promotion/promotion-application/pom.xml +++ b/promotion/promotion-application/pom.xml @@ -12,6 +12,7 @@ promotion-application + cn.iocoder.mall common-framework @@ -53,15 +54,12 @@ 1.0-SNAPSHOT + org.springframework.boot spring-boot-starter-web - - org.springframework.boot - spring-boot-starter-test - test - + io.springfox @@ -72,6 +70,13 @@ swagger-bootstrap-ui + + + org.springframework.boot + spring-boot-starter-test + test + + diff --git a/promotion/promotion-application/src/main/resources/application-test.yaml b/promotion/promotion-application/src/main/resources/application-test.yaml new file mode 100644 index 000000000..96b1b5566 --- /dev/null +++ b/promotion/promotion-application/src/main/resources/application-test.yaml @@ -0,0 +1,6 @@ +swagger: + enable: false + title: 营销子系统 + description: 营销子系统 + version: 1.0.0 + base-package: cn.iocoder.mall.promotion.application.controller diff --git a/promotion/promotion-application/src/main/resources/application.yaml b/promotion/promotion-application/src/main/resources/application.yaml index e6d66102e..9d226a880 100644 --- a/promotion/promotion-application/src/main/resources/application.yaml +++ b/promotion/promotion-application/src/main/resources/application.yaml @@ -9,7 +9,4 @@ server: context-path: /promotion-api/ swagger: - title: 营销子系统 - description: 营销子系统 - version: 1.0.0 - base-package: cn.iocoder.mall.promotion.application.controller + enable: false diff --git a/promotion/promotion-service-api/pom.xml b/promotion/promotion-service-api/pom.xml index cfbce1019..e7f74dd1f 100644 --- a/promotion/promotion-service-api/pom.xml +++ b/promotion/promotion-service-api/pom.xml @@ -12,17 +12,14 @@ promotion-service-api + cn.iocoder.mall common-framework 1.0-SNAPSHOT - - javax.validation - validation-api - - + org.mapstruct mapstruct @@ -31,6 +28,7 @@ org.mapstruct mapstruct-jdk8 + org.projectlombok lombok diff --git a/promotion/promotion-service-impl/pom.xml b/promotion/promotion-service-impl/pom.xml index 9b6a5704b..1ce26638e 100644 --- a/promotion/promotion-service-impl/pom.xml +++ b/promotion/promotion-service-impl/pom.xml @@ -12,6 +12,7 @@ promotion-service-impl + cn.iocoder.mall promotion-service-api @@ -28,92 +29,12 @@ 1.0-SNAPSHOT - - com.google.guava - guava - - - com.xuxueli - xxl-job-core - - + mysql mysql-connector-java - - com.alibaba - druid-spring-boot-starter - - - - - - - - - - - - - - - - - - org.apache.dubbo - dubbo - - - org.apache.curator - curator-framework - - - org.apache.curator - curator-recipes - - - org.apache.dubbo - dubbo-spring-boot-starter - - - - com.baomidou - mybatis-plus-boot-starter - - - org.springframework.boot - spring-boot-starter-jdbc - - - - - - org.apache.rocketmq - rocketmq-spring-boot-starter - - - - io.seata - seata-spring - - - - io.seata - seata-dubbo - - - io.seata - seata-discovery-zk - - - - - org.springframework.boot - spring-boot-starter-test - test - org.springframework spring-tx @@ -122,12 +43,70 @@ org.springframework spring-jdbc - - - - - - + + + com.alibaba + druid-spring-boot-starter + + + + com.baomidou + mybatis-plus-boot-starter + + + + io.seata + seata-spring + + + io.seata + seata-dubbo + + + + + org.apache.dubbo + dubbo + + + org.apache.dubbo + dubbo-spring-boot-starter + + + + + org.apache.curator + curator-framework + + + org.apache.curator + curator-recipes + + + + + org.apache.rocketmq + rocketmq-spring-boot-starter + + + + + com.xuxueli + xxl-job-core + + + + + com.google.guava + guava + + + + + org.springframework.boot + spring-boot-starter-test + test +