From 815f8b81889cdbebfd2b65307c21abc5624a42b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8A=E5=AE=98=E6=98=93=E6=B3=BD?= <15837994614@163.com> Date: Tue, 17 Aug 2021 18:11:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 8 +++ gulimall-coupon/pom.xml | 57 +++++++++++++++++++ .../coupon/GulimallCouponApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + .../GulimallCouponApplicationTests.java | 13 +++++ gulimall-member/pom.xml | 53 +++++++++++++++++ .../member/GuliMemberApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + .../member/GuliMemberApplicationTests.java | 13 +++++ gulimall-order/pom.xml | 57 +++++++++++++++++++ .../order/GulimallOrderApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + .../order/GulimallOrderApplicationTests.java | 13 +++++ gulimall-product/pom.xml | 57 +++++++++++++++++++ .../product/GulimallProductApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + .../GulimallProductApplicationTests.java | 13 +++++ gulimall-ware/pom.xml | 57 +++++++++++++++++++ .../ware/GulimallWareApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + .../ware/GulimallWareApplicationTests.java | 13 +++++ pom.xml | 21 +++++++ 22 files changed, 445 insertions(+) create mode 100644 gulimall-coupon/pom.xml create mode 100644 gulimall-coupon/src/main/java/com/atguigu/gulimall/coupon/GulimallCouponApplication.java create mode 100644 gulimall-coupon/src/main/resources/application.properties create mode 100644 gulimall-coupon/src/test/java/com/atguigu/gulimall/coupon/GulimallCouponApplicationTests.java create mode 100644 gulimall-member/pom.xml create mode 100644 gulimall-member/src/main/java/com/atguigu/gulimall/member/GuliMemberApplication.java create mode 100644 gulimall-member/src/main/resources/application.properties create mode 100644 gulimall-member/src/test/java/com/atguigu/gulimall/member/GuliMemberApplicationTests.java create mode 100644 gulimall-order/pom.xml create mode 100644 gulimall-order/src/main/java/com/atguigu/gulimall/order/GulimallOrderApplication.java create mode 100644 gulimall-order/src/main/resources/application.properties create mode 100644 gulimall-order/src/test/java/com/atguigu/gulimall/order/GulimallOrderApplicationTests.java create mode 100644 gulimall-product/pom.xml create mode 100644 gulimall-product/src/main/java/com/atguigu/gulimall/product/GulimallProductApplication.java create mode 100644 gulimall-product/src/main/resources/application.properties create mode 100644 gulimall-product/src/test/java/com/atguigu/gulimall/product/GulimallProductApplicationTests.java create mode 100644 gulimall-ware/pom.xml create mode 100644 gulimall-ware/src/main/java/com/atguigu/gulimall/ware/GulimallWareApplication.java create mode 100644 gulimall-ware/src/main/resources/application.properties create mode 100644 gulimall-ware/src/test/java/com/atguigu/gulimall/ware/GulimallWareApplicationTests.java create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 0880771..bfa4d61 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,11 @@ buildNumber.properties # https://github.com/takari/maven-wrapper#usage-without-binary-jar .mvn/wrapper/maven-wrapper.jar +**/mvnw +**/mvnw.cmd +**/.mvn +**/target/ + +.idea + +**/.gitignore diff --git a/gulimall-coupon/pom.xml b/gulimall-coupon/pom.xml new file mode 100644 index 0000000..004cfd2 --- /dev/null +++ b/gulimall-coupon/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + com.atguigu.gulimall + gulimall-coupon + 0.0.1-SNAPSHOT + gulimall-coupon + 谷粒商城-优惠券服务 + + 1.8 + 2020.0.3 + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/gulimall-coupon/src/main/java/com/atguigu/gulimall/coupon/GulimallCouponApplication.java b/gulimall-coupon/src/main/java/com/atguigu/gulimall/coupon/GulimallCouponApplication.java new file mode 100644 index 0000000..b846209 --- /dev/null +++ b/gulimall-coupon/src/main/java/com/atguigu/gulimall/coupon/GulimallCouponApplication.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.coupon; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GulimallCouponApplication { + + public static void main(String[] args) { + SpringApplication.run(GulimallCouponApplication.class, args); + } + +} diff --git a/gulimall-coupon/src/main/resources/application.properties b/gulimall-coupon/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gulimall-coupon/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/gulimall-coupon/src/test/java/com/atguigu/gulimall/coupon/GulimallCouponApplicationTests.java b/gulimall-coupon/src/test/java/com/atguigu/gulimall/coupon/GulimallCouponApplicationTests.java new file mode 100644 index 0000000..c536561 --- /dev/null +++ b/gulimall-coupon/src/test/java/com/atguigu/gulimall/coupon/GulimallCouponApplicationTests.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.coupon; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GulimallCouponApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/gulimall-member/pom.xml b/gulimall-member/pom.xml new file mode 100644 index 0000000..f2c8d5d --- /dev/null +++ b/gulimall-member/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + com.atguigu.gulimall + gulimall-member + 0.0.1-SNAPSHOT + gulimall-member + 谷粒商城-会员服务 + + 1.8 + 2020.0.3 + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/gulimall-member/src/main/java/com/atguigu/gulimall/member/GuliMemberApplication.java b/gulimall-member/src/main/java/com/atguigu/gulimall/member/GuliMemberApplication.java new file mode 100644 index 0000000..f24f140 --- /dev/null +++ b/gulimall-member/src/main/java/com/atguigu/gulimall/member/GuliMemberApplication.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.member; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GuliMemberApplication { + + public static void main(String[] args) { + SpringApplication.run(GuliMemberApplication.class, args); + } + +} diff --git a/gulimall-member/src/main/resources/application.properties b/gulimall-member/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gulimall-member/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/gulimall-member/src/test/java/com/atguigu/gulimall/member/GuliMemberApplicationTests.java b/gulimall-member/src/test/java/com/atguigu/gulimall/member/GuliMemberApplicationTests.java new file mode 100644 index 0000000..10cd53b --- /dev/null +++ b/gulimall-member/src/test/java/com/atguigu/gulimall/member/GuliMemberApplicationTests.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.member; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GuliMemberApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/gulimall-order/pom.xml b/gulimall-order/pom.xml new file mode 100644 index 0000000..293331d --- /dev/null +++ b/gulimall-order/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + com.atguigu.gulimall + gulimall-order + 0.0.1-SNAPSHOT + gulimall-order + 谷粒商城-订单服务 + + 1.8 + 2020.0.3 + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/gulimall-order/src/main/java/com/atguigu/gulimall/order/GulimallOrderApplication.java b/gulimall-order/src/main/java/com/atguigu/gulimall/order/GulimallOrderApplication.java new file mode 100644 index 0000000..440a978 --- /dev/null +++ b/gulimall-order/src/main/java/com/atguigu/gulimall/order/GulimallOrderApplication.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.order; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GulimallOrderApplication { + + public static void main(String[] args) { + SpringApplication.run(GulimallOrderApplication.class, args); + } + +} diff --git a/gulimall-order/src/main/resources/application.properties b/gulimall-order/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gulimall-order/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/gulimall-order/src/test/java/com/atguigu/gulimall/order/GulimallOrderApplicationTests.java b/gulimall-order/src/test/java/com/atguigu/gulimall/order/GulimallOrderApplicationTests.java new file mode 100644 index 0000000..adc7770 --- /dev/null +++ b/gulimall-order/src/test/java/com/atguigu/gulimall/order/GulimallOrderApplicationTests.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.order; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GulimallOrderApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/gulimall-product/pom.xml b/gulimall-product/pom.xml new file mode 100644 index 0000000..1b1d3ea --- /dev/null +++ b/gulimall-product/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + com.atguigu.gulimall + gulimall-product + 0.0.1-SNAPSHOT + gulimall-product + 谷粒商城-商品服务 + + 1.8 + 2020.0.3 + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/gulimall-product/src/main/java/com/atguigu/gulimall/product/GulimallProductApplication.java b/gulimall-product/src/main/java/com/atguigu/gulimall/product/GulimallProductApplication.java new file mode 100644 index 0000000..92c7076 --- /dev/null +++ b/gulimall-product/src/main/java/com/atguigu/gulimall/product/GulimallProductApplication.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.product; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GulimallProductApplication { + + public static void main(String[] args) { + SpringApplication.run(GulimallProductApplication.class, args); + } + +} diff --git a/gulimall-product/src/main/resources/application.properties b/gulimall-product/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gulimall-product/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/gulimall-product/src/test/java/com/atguigu/gulimall/product/GulimallProductApplicationTests.java b/gulimall-product/src/test/java/com/atguigu/gulimall/product/GulimallProductApplicationTests.java new file mode 100644 index 0000000..6b1f281 --- /dev/null +++ b/gulimall-product/src/test/java/com/atguigu/gulimall/product/GulimallProductApplicationTests.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.product; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GulimallProductApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/gulimall-ware/pom.xml b/gulimall-ware/pom.xml new file mode 100644 index 0000000..4648930 --- /dev/null +++ b/gulimall-ware/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + com.atguigu.gulimall + gulimall-ware + 0.0.1-SNAPSHOT + gulimall-ware + 谷粒商城-仓储服务 + + 1.8 + 2020.0.3 + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/gulimall-ware/src/main/java/com/atguigu/gulimall/ware/GulimallWareApplication.java b/gulimall-ware/src/main/java/com/atguigu/gulimall/ware/GulimallWareApplication.java new file mode 100644 index 0000000..f7d3859 --- /dev/null +++ b/gulimall-ware/src/main/java/com/atguigu/gulimall/ware/GulimallWareApplication.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.ware; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GulimallWareApplication { + + public static void main(String[] args) { + SpringApplication.run(GulimallWareApplication.class, args); + } + +} diff --git a/gulimall-ware/src/main/resources/application.properties b/gulimall-ware/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gulimall-ware/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/gulimall-ware/src/test/java/com/atguigu/gulimall/ware/GulimallWareApplicationTests.java b/gulimall-ware/src/test/java/com/atguigu/gulimall/ware/GulimallWareApplicationTests.java new file mode 100644 index 0000000..c717020 --- /dev/null +++ b/gulimall-ware/src/test/java/com/atguigu/gulimall/ware/GulimallWareApplicationTests.java @@ -0,0 +1,13 @@ +package com.atguigu.gulimall.ware; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GulimallWareApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..df68f42 --- /dev/null +++ b/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + com.atguigu.gulimall + gulimall + 0.0.1-SNAPSHOT + gulimall + 聚合服务 + pom + + + gulimall-coupon + gulimall-member + gulimall-ware + gulimall-order + gulimall-product + + +