From f77e5779550c44087e076eddae5780e02b64e6d7 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 14 May 2019 00:02:29 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=90=8E=E7=AB=AF=EF=BC=9A=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20promotion=20=E9=A1=B9=E7=9B=AE=EF=BC=8C=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=BC=80=E5=8F=91=E4=B8=8D=E5=BC=80=E5=90=AF=E6=96=87?= =?UTF-8?q?=E6=A1=A3=20-=20=E5=90=8E=E7=AB=AF=EF=BC=9Apromotion=20?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=8C=E5=BC=95=E5=85=A5=20seata=20?= =?UTF-8?q?=E5=88=86=E5=B8=83=E5=BC=8F=E4=BA=8B=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- promotion/promotion-application/pom.xml | 15 +- .../src/main/resources/application-test.yaml | 6 + .../src/main/resources/application.yaml | 5 +- promotion/promotion-service-api/pom.xml | 8 +- promotion/promotion-service-impl/pom.xml | 153 ++++++++---------- 5 files changed, 86 insertions(+), 101 deletions(-) create mode 100644 promotion/promotion-application/src/main/resources/application-test.yaml 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 +