From 963dffb862cbf20f0795f5660cd4b2026bfaf639 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Thu, 14 May 2020 14:17:53 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=EF=BC=9Aapplication=20ol?= =?UTF-8?q?d=20=E6=94=B9=E4=B8=BA=20start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- promotion/promotion-start/pom.xml | 132 ++++++++++++++++++ .../application/PromotionApplication.java | 0 .../admins/AdminsBannerController.java | 0 .../admins/AdminsCouponController.java | 0 .../AdminsProductRecommendController.java | 0 .../AdminsPromotionActivityController.java | 0 .../users/UsersBannerController.java | 0 .../users/UsersCouponController.java | 0 .../UsersProductRecommendController.java | 0 .../application/convert/BannerConvert.java | 0 .../convert/CouponCardConvert.java | 0 .../convert/CouponTemplateConvert.java | 0 .../convert/ProductRecommendConvert.java | 0 .../vo/admins/AdminsBannerPageVO.java | 0 .../application/vo/admins/AdminsBannerVO.java | 0 .../vo/admins/AdminsCouponTemplatePageVO.java | 0 .../vo/admins/AdminsCouponTemplateVO.java | 0 .../admins/AdminsProductRecommendPageVO.java | 0 .../vo/admins/AdminsProductRecommendVO.java | 0 .../application/vo/users/UsersBannerVO.java | 0 .../vo/users/UsersCouponCardPageVO.java | 0 .../vo/users/UsersCouponCardVO.java | 0 .../vo/users/UsersCouponTemplateVO.java | 0 .../vo/users/UsersProductRecommendVO.java | 0 .../src/main/resources/application-test.yaml | 0 .../src/main/resources/application.yaml | 0 26 files changed, 132 insertions(+) create mode 100644 promotion/promotion-start/pom.xml rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/PromotionApplication.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsBannerController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsCouponController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsProductRecommendController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsPromotionActivityController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersBannerController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersCouponController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersProductRecommendController.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/convert/BannerConvert.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponCardConvert.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponTemplateConvert.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/convert/ProductRecommendConvert.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersBannerVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardPageVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponTemplateVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java (100%) rename promotion/{promotion-application => promotion-start}/src/main/resources/application-test.yaml (100%) rename promotion/{promotion-application => promotion-start}/src/main/resources/application.yaml (100%) diff --git a/promotion/promotion-start/pom.xml b/promotion/promotion-start/pom.xml new file mode 100644 index 00000000..3d5c5cce --- /dev/null +++ b/promotion/promotion-start/pom.xml @@ -0,0 +1,132 @@ + + + + promotion + cn.iocoder.mall + 1.0-SNAPSHOT + + 4.0.0 + + promotion-start + + + + + cn.iocoder.mall + common-framework + 1.0-SNAPSHOT + + + cn.iocoder.mall + mall-spring-boot + 1.0-SNAPSHOT + + + cn.iocoder.mall + product-service-api + 1.0-SNAPSHOT + + + cn.iocoder.mall + promotion-service-api + 1.0-SNAPSHOT + + + cn.iocoder.mall + promotion-service-impl + 1.0-SNAPSHOT + + + cn.iocoder.mall + user-service-api + 1.0-SNAPSHOT + + + cn.iocoder.mall + user-sdk + 1.0-SNAPSHOT + + + cn.iocoder.mall + system-sdk + 1.0-SNAPSHOT + + + cn.iocoder.mall + mall-spring-boot-starter-mybatis + + + + + org.springframework.boot + spring-boot-starter-web + + + + + io.springfox + springfox-swagger2 + + + com.github.xiaoymin + swagger-bootstrap-ui + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + io.micrometer + micrometer-registry-prometheus + + + + + org.springframework.boot + spring-boot-starter-test + test + + + cn.iocoder.mall + mall-spring-boot-starter-security + 1.0-SNAPSHOT + compile + + + cn.iocoder.mall + mall-spring-boot-starter-security + 1.0-SNAPSHOT + compile + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/PromotionApplication.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/PromotionApplication.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/PromotionApplication.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/PromotionApplication.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsBannerController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsBannerController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsBannerController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsBannerController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsCouponController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsCouponController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsCouponController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsCouponController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsProductRecommendController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsProductRecommendController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsProductRecommendController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsProductRecommendController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsPromotionActivityController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsPromotionActivityController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsPromotionActivityController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/admins/AdminsPromotionActivityController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersBannerController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersBannerController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersBannerController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersBannerController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersCouponController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersCouponController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersCouponController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersCouponController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersProductRecommendController.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersProductRecommendController.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersProductRecommendController.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/controller/users/UsersProductRecommendController.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/BannerConvert.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/BannerConvert.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/BannerConvert.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/BannerConvert.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponCardConvert.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponCardConvert.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponCardConvert.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponCardConvert.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponTemplateConvert.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponTemplateConvert.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponTemplateConvert.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/CouponTemplateConvert.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/ProductRecommendConvert.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/ProductRecommendConvert.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/convert/ProductRecommendConvert.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/convert/ProductRecommendConvert.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersBannerVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersBannerVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersBannerVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersBannerVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardPageVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardPageVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardPageVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardPageVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponCardVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponTemplateVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponTemplateVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponTemplateVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersCouponTemplateVO.java diff --git a/promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java b/promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java similarity index 100% rename from promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java rename to promotion/promotion-start/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java diff --git a/promotion/promotion-application/src/main/resources/application-test.yaml b/promotion/promotion-start/src/main/resources/application-test.yaml similarity index 100% rename from promotion/promotion-application/src/main/resources/application-test.yaml rename to promotion/promotion-start/src/main/resources/application-test.yaml diff --git a/promotion/promotion-application/src/main/resources/application.yaml b/promotion/promotion-start/src/main/resources/application.yaml similarity index 100% rename from promotion/promotion-application/src/main/resources/application.yaml rename to promotion/promotion-start/src/main/resources/application.yaml