From 0d9157daace8befbcbc1069013ac5dd4f3da3964 Mon Sep 17 00:00:00 2001 From: ddyd <2073699128@qq.com> Date: Mon, 30 Jun 2025 14:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 +++ book-coupon/.gitattributes | 2 + book-coupon/pom.xml | 70 ++++++++++++++++++ .../bookcoupon/BookCouponApplication.java | 13 ++++ .../src/main/resources/application.properties | 1 + .../BookCouponApplicationTests.java | 13 ++++ book-member/.gitattributes | 2 + book-member/pom.xml | 70 ++++++++++++++++++ .../bookmember/BookMemberApplication.java | 13 ++++ .../src/main/resources/application.properties | 1 + .../BookMemberApplicationTests.java | 13 ++++ book-order/.gitattributes | 2 + book-order/pom.xml | 70 ++++++++++++++++++ .../bookorder/BookOrderApplication.java | 13 ++++ .../src/main/resources/application.properties | 1 + .../bookorder/BookOrderApplicationTests.java | 13 ++++ book-product/.gitattributes | 2 + book-product/README.md | 1 + book-product/pom.xml | 71 +++++++++++++++++++ .../bookproduct/BookProductApplication.java | 13 ++++ .../src/main/resources/application.properties | 1 + .../BookProductApplicationTests.java | 13 ++++ book-ware/.gitattributes | 2 + book-ware/README.md | 1 + book-ware/pom.xml | 70 ++++++++++++++++++ .../bookware/BookWareApplication.java | 13 ++++ .../src/main/resources/application.properties | 1 + .../bookware/BookWareApplicationTests.java | 13 ++++ pom.xml | 22 ++++++ 29 files changed, 529 insertions(+) create mode 100644 book-coupon/.gitattributes create mode 100644 book-coupon/pom.xml create mode 100644 book-coupon/src/main/java/com/bookstore/bookmall/bookcoupon/BookCouponApplication.java create mode 100644 book-coupon/src/main/resources/application.properties create mode 100644 book-coupon/src/test/java/com/bookstore/bookmall/bookcoupon/BookCouponApplicationTests.java create mode 100644 book-member/.gitattributes create mode 100644 book-member/pom.xml create mode 100644 book-member/src/main/java/com/bookstore/bookmall/bookmember/BookMemberApplication.java create mode 100644 book-member/src/main/resources/application.properties create mode 100644 book-member/src/test/java/com/bookstore/bookmall/bookmember/BookMemberApplicationTests.java create mode 100644 book-order/.gitattributes create mode 100644 book-order/pom.xml create mode 100644 book-order/src/main/java/com/bookstore/bookmall/bookorder/BookOrderApplication.java create mode 100644 book-order/src/main/resources/application.properties create mode 100644 book-order/src/test/java/com/bookstore/bookmall/bookorder/BookOrderApplicationTests.java create mode 100644 book-product/.gitattributes create mode 100644 book-product/README.md create mode 100644 book-product/pom.xml create mode 100644 book-product/src/main/java/com/bookstore/bookmall/bookproduct/BookProductApplication.java create mode 100644 book-product/src/main/resources/application.properties create mode 100644 book-product/src/test/java/com/bookstore/bookmall/bookproduct/BookProductApplicationTests.java create mode 100644 book-ware/.gitattributes create mode 100644 book-ware/README.md create mode 100644 book-ware/pom.xml create mode 100644 book-ware/src/main/java/com/bookstore/bookmall/bookware/BookWareApplication.java create mode 100644 book-ware/src/main/resources/application.properties create mode 100644 book-ware/src/test/java/com/bookstore/bookmall/bookware/BookWareApplicationTests.java create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 82416ef..2cd8a94 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,12 @@ buildNumber.properties # JDT-specific (Eclipse Java Development Tools) .classpath + +**/mvnw +**/mvnw.cmd +**/.mvn +**/target + +.idea + +**/.gitignore \ No newline at end of file diff --git a/book-coupon/.gitattributes b/book-coupon/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/book-coupon/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/book-coupon/pom.xml b/book-coupon/pom.xml new file mode 100644 index 0000000..08e74d7 --- /dev/null +++ b/book-coupon/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + com.bookstore.bookmall + book-coupon + 0.0.1-SNAPSHOT + book-coupon + Demo project for Spring Boot + + + + + + + + + + + + + + + 1.8 + 2025.0.0 + + + + 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/book-coupon/src/main/java/com/bookstore/bookmall/bookcoupon/BookCouponApplication.java b/book-coupon/src/main/java/com/bookstore/bookmall/bookcoupon/BookCouponApplication.java new file mode 100644 index 0000000..a208fd1 --- /dev/null +++ b/book-coupon/src/main/java/com/bookstore/bookmall/bookcoupon/BookCouponApplication.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookcoupon; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BookCouponApplication { + + public static void main(String[] args) { + SpringApplication.run(BookCouponApplication.class, args); + } + +} diff --git a/book-coupon/src/main/resources/application.properties b/book-coupon/src/main/resources/application.properties new file mode 100644 index 0000000..2975704 --- /dev/null +++ b/book-coupon/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=book-coupon diff --git a/book-coupon/src/test/java/com/bookstore/bookmall/bookcoupon/BookCouponApplicationTests.java b/book-coupon/src/test/java/com/bookstore/bookmall/bookcoupon/BookCouponApplicationTests.java new file mode 100644 index 0000000..8443786 --- /dev/null +++ b/book-coupon/src/test/java/com/bookstore/bookmall/bookcoupon/BookCouponApplicationTests.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookcoupon; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BookCouponApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/book-member/.gitattributes b/book-member/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/book-member/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/book-member/pom.xml b/book-member/pom.xml new file mode 100644 index 0000000..41ec295 --- /dev/null +++ b/book-member/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + com.bookstore.bookmall + book-member + 0.0.1-SNAPSHOT + book-member + Demo project for Spring Boot + + + + + + + + + + + + + + + 1.8 + 2025.0.0 + + + + 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/book-member/src/main/java/com/bookstore/bookmall/bookmember/BookMemberApplication.java b/book-member/src/main/java/com/bookstore/bookmall/bookmember/BookMemberApplication.java new file mode 100644 index 0000000..35357f0 --- /dev/null +++ b/book-member/src/main/java/com/bookstore/bookmall/bookmember/BookMemberApplication.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookmember; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BookMemberApplication { + + public static void main(String[] args) { + SpringApplication.run(BookMemberApplication.class, args); + } + +} diff --git a/book-member/src/main/resources/application.properties b/book-member/src/main/resources/application.properties new file mode 100644 index 0000000..4731fd8 --- /dev/null +++ b/book-member/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=book-member diff --git a/book-member/src/test/java/com/bookstore/bookmall/bookmember/BookMemberApplicationTests.java b/book-member/src/test/java/com/bookstore/bookmall/bookmember/BookMemberApplicationTests.java new file mode 100644 index 0000000..0eb4b95 --- /dev/null +++ b/book-member/src/test/java/com/bookstore/bookmall/bookmember/BookMemberApplicationTests.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookmember; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BookMemberApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/book-order/.gitattributes b/book-order/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/book-order/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/book-order/pom.xml b/book-order/pom.xml new file mode 100644 index 0000000..bce4844 --- /dev/null +++ b/book-order/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + com.bookstore.bookmall + book-order + 0.0.1-SNAPSHOT + book-order + Demo project for Spring Boot + + + + + + + + + + + + + + + 1.8 + 2025.0.0 + + + + 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/book-order/src/main/java/com/bookstore/bookmall/bookorder/BookOrderApplication.java b/book-order/src/main/java/com/bookstore/bookmall/bookorder/BookOrderApplication.java new file mode 100644 index 0000000..e0f340b --- /dev/null +++ b/book-order/src/main/java/com/bookstore/bookmall/bookorder/BookOrderApplication.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookorder; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BookOrderApplication { + + public static void main(String[] args) { + SpringApplication.run(BookOrderApplication.class, args); + } + +} diff --git a/book-order/src/main/resources/application.properties b/book-order/src/main/resources/application.properties new file mode 100644 index 0000000..240d525 --- /dev/null +++ b/book-order/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=book-order diff --git a/book-order/src/test/java/com/bookstore/bookmall/bookorder/BookOrderApplicationTests.java b/book-order/src/test/java/com/bookstore/bookmall/bookorder/BookOrderApplicationTests.java new file mode 100644 index 0000000..f885e03 --- /dev/null +++ b/book-order/src/test/java/com/bookstore/bookmall/bookorder/BookOrderApplicationTests.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookorder; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BookOrderApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/book-product/.gitattributes b/book-product/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/book-product/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/book-product/README.md b/book-product/README.md new file mode 100644 index 0000000..819356c --- /dev/null +++ b/book-product/README.md @@ -0,0 +1 @@ +这是商品模块 diff --git a/book-product/pom.xml b/book-product/pom.xml new file mode 100644 index 0000000..9a40a06 --- /dev/null +++ b/book-product/pom.xml @@ -0,0 +1,71 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + com.bookstore.bookmall + book-product + 0.0.1-SNAPSHOT + book-product + Demo project for Spring Boot + + + + + + + + + + + + + + + + 1.8 + 2025.0.0 + + + + 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/book-product/src/main/java/com/bookstore/bookmall/bookproduct/BookProductApplication.java b/book-product/src/main/java/com/bookstore/bookmall/bookproduct/BookProductApplication.java new file mode 100644 index 0000000..a0698e4 --- /dev/null +++ b/book-product/src/main/java/com/bookstore/bookmall/bookproduct/BookProductApplication.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookproduct; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BookProductApplication { + + public static void main(String[] args) { + SpringApplication.run(BookProductApplication.class, args); + } + +} diff --git a/book-product/src/main/resources/application.properties b/book-product/src/main/resources/application.properties new file mode 100644 index 0000000..8892bb7 --- /dev/null +++ b/book-product/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=book-product diff --git a/book-product/src/test/java/com/bookstore/bookmall/bookproduct/BookProductApplicationTests.java b/book-product/src/test/java/com/bookstore/bookmall/bookproduct/BookProductApplicationTests.java new file mode 100644 index 0000000..689a64f --- /dev/null +++ b/book-product/src/test/java/com/bookstore/bookmall/bookproduct/BookProductApplicationTests.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookproduct; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BookProductApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/book-ware/.gitattributes b/book-ware/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/book-ware/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/book-ware/README.md b/book-ware/README.md new file mode 100644 index 0000000..89ff05b --- /dev/null +++ b/book-ware/README.md @@ -0,0 +1 @@ +仓储服务 diff --git a/book-ware/pom.xml b/book-ware/pom.xml new file mode 100644 index 0000000..c9910a6 --- /dev/null +++ b/book-ware/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + com.bookstore.bookmall + book-ware + 0.0.1-SNAPSHOT + book-ware + Demo project for Spring Boot + + + + + + + + + + + + + + + 1.8 + 2025.0.0 + + + + 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/book-ware/src/main/java/com/bookstore/bookmall/bookware/BookWareApplication.java b/book-ware/src/main/java/com/bookstore/bookmall/bookware/BookWareApplication.java new file mode 100644 index 0000000..ec48c98 --- /dev/null +++ b/book-ware/src/main/java/com/bookstore/bookmall/bookware/BookWareApplication.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookware; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BookWareApplication { + + public static void main(String[] args) { + SpringApplication.run(BookWareApplication.class, args); + } + +} diff --git a/book-ware/src/main/resources/application.properties b/book-ware/src/main/resources/application.properties new file mode 100644 index 0000000..9db9dc7 --- /dev/null +++ b/book-ware/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=book-ware diff --git a/book-ware/src/test/java/com/bookstore/bookmall/bookware/BookWareApplicationTests.java b/book-ware/src/test/java/com/bookstore/bookmall/bookware/BookWareApplicationTests.java new file mode 100644 index 0000000..8b53399 --- /dev/null +++ b/book-ware/src/test/java/com/bookstore/bookmall/bookware/BookWareApplicationTests.java @@ -0,0 +1,13 @@ +package com.bookstore.bookmall.bookware; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BookWareApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8367ec2 --- /dev/null +++ b/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + com.bookstore.bookmall + bookmall + 0.0.1-SNAPSHOT + bookmall + 聚合服务 + pom + + + book-member + book-order + book-ware + book-coupon + book-product + + + +