diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 9475cb2..848d84e 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -8,10 +8,16 @@
+
-
+
+
+
+
+
+
@@ -20,8 +26,16 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index 6dbb144..ea9b294 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -8,6 +8,17 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 0abcc97..1108e3f 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -7,6 +7,11 @@
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 23dceb1..b51a0ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,6 +20,10 @@
spzx-model
spzx-manager
spzx-common/common-log
+ spzx-service
+ spzx-service/service-product
+ spzx-server-gateway
+ spzx-service-client
@@ -31,6 +35,9 @@
1.18.20
3.0.1
2.1.0
+ 2022.0.2
+ 2022.0.0.0-RC2
+ 4.8.73.ALL
@@ -67,6 +74,26 @@
pagehelper-spring-boot-starter
${pagehelper.version}
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${cloud.version}
+ pom
+ import
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${alibaba.version}
+ pom
+ import
+
+
+
+ com.alipay.sdk
+ alipay-sdk-java
+ ${alipay.version}
+
diff --git a/spzx-manager/src/main/resources/favicon.ico b/spzx-manager/src/main/resources/favicon.ico
new file mode 100644
index 0000000..1ba397c
Binary files /dev/null and b/spzx-manager/src/main/resources/favicon.ico differ
diff --git a/spzx-server-gateway/pom.xml b/spzx-server-gateway/pom.xml
new file mode 100644
index 0000000..67acbe2
--- /dev/null
+++ b/spzx-server-gateway/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-parent-v2
+ 1.0-SNAPSHOT
+
+
+ spzx-server-gateway
+ jar
+
+ spzx-server-gateway
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-server-gateway/src/main/java/com/atguigu/App.java b/spzx-server-gateway/src/main/java/com/atguigu/App.java
new file mode 100644
index 0000000..74498e7
--- /dev/null
+++ b/spzx-server-gateway/src/main/java/com/atguigu/App.java
@@ -0,0 +1,13 @@
+package com.atguigu;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service-client/pom.xml b/spzx-service-client/pom.xml
new file mode 100644
index 0000000..27835ee
--- /dev/null
+++ b/spzx-service-client/pom.xml
@@ -0,0 +1,27 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-parent-v2
+ 1.0-SNAPSHOT
+
+
+ spzx-service-client
+ pom
+
+ spzx-service-client
+ https://maven.apache.org
+
+ service-product-client
+ service-user-client
+
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service-client/service-product-client/pom.xml b/spzx-service-client/service-product-client/pom.xml
new file mode 100644
index 0000000..c8e6e6f
--- /dev/null
+++ b/spzx-service-client/service-product-client/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-service-client
+ 1.0-SNAPSHOT
+
+
+ service-product-client
+ jar
+
+ service-product-client
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service-client/service-user-client/pom.xml b/spzx-service-client/service-user-client/pom.xml
new file mode 100644
index 0000000..2da1367
--- /dev/null
+++ b/spzx-service-client/service-user-client/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-service-client
+ 1.0-SNAPSHOT
+
+
+ service-user-client
+ jar
+
+ service-user-client
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service-client/service-user-client/src/main/java/com/atguigu/App.java b/spzx-service-client/service-user-client/src/main/java/com/atguigu/App.java
new file mode 100644
index 0000000..74498e7
--- /dev/null
+++ b/spzx-service-client/service-user-client/src/main/java/com/atguigu/App.java
@@ -0,0 +1,13 @@
+package com.atguigu;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service/pom.xml b/spzx-service/pom.xml
new file mode 100644
index 0000000..7dbdd64
--- /dev/null
+++ b/spzx-service/pom.xml
@@ -0,0 +1,72 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-parent-v2
+ 1.0-SNAPSHOT
+
+
+ spzx-service
+ pom
+
+ spzx-service
+ https://maven.apache.org
+
+ service-user
+ service-order
+
+
+
+ UTF-8
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ com.atguigu
+ common-service
+ 1.0-SNAPSHOT
+
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.4.3
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
diff --git a/spzx-service/service-order/pom.xml b/spzx-service/service-order/pom.xml
new file mode 100644
index 0000000..6e900fb
--- /dev/null
+++ b/spzx-service/service-order/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ service-order
+ jar
+
+ service-order
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service/service-order/src/main/resources/application-dev.yml b/spzx-service/service-order/src/main/resources/application-dev.yml
new file mode 100644
index 0000000..5c51c8b
--- /dev/null
+++ b/spzx-service/service-order/src/main/resources/application-dev.yml
@@ -0,0 +1,7 @@
+bunny:
+ datasource:
+ host: 106.15.251.123
+ port: 3305
+ sqlData: db_spzx
+ username: root
+ password: "02120212"
\ No newline at end of file
diff --git a/spzx-service/service-order/src/main/resources/application.yml b/spzx-service/service-order/src/main/resources/application.yml
new file mode 100644
index 0000000..09d4936
--- /dev/null
+++ b/spzx-service/service-order/src/main/resources/application.yml
@@ -0,0 +1,22 @@
+server:
+ port: 8511
+spring:
+ profiles:
+ active: dev
+ application:
+ name: service-product
+
+ cloud:
+ nacos:
+ server-addr: 192.168.1.5:8848
+
+ datasource:
+ type: com.zaxxer.hikari.HikariDataSource
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
+ username: ${bunny.datasource.username}
+ password: "${bunny.datasource.password}"
+
+mybatis:
+ config-location: classpath:mybatis-config.xml
+ mapper-locations: classpath:/mapper/*/*.xml
\ No newline at end of file
diff --git a/spzx-service/service-order/src/main/resources/logback-spring.xml b/spzx-service/service-order/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..acce308
--- /dev/null
+++ b/spzx-service/service-order/src/main/resources/logback-spring.xml
@@ -0,0 +1,57 @@
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INFO
+
+
+ ${CONSOLE_LOG_PATTERN}
+ ${ENCODING}
+
+
+
+
+
+ ${log.path}//log.log
+ true
+
+ %date{yyyy-MM-dd HH:mm:ss} %msg%n
+ ${ENCODING}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spzx-service/service-product/pom.xml b/spzx-service/service-product/pom.xml
new file mode 100644
index 0000000..f153e9e
--- /dev/null
+++ b/spzx-service/service-product/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ service-product
+ jar
+
+ service-product
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service/service-product/src/main/java/com/atguigu/product/ProductApplication.java b/spzx-service/service-product/src/main/java/com/atguigu/product/ProductApplication.java
new file mode 100644
index 0000000..2a82c16
--- /dev/null
+++ b/spzx-service/service-product/src/main/java/com/atguigu/product/ProductApplication.java
@@ -0,0 +1,11 @@
+package com.atguigu.product;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class ProductApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(ProductApplication.class, args);
+ }
+}
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/application-dev.yml b/spzx-service/service-product/src/main/resources/application-dev.yml
new file mode 100644
index 0000000..5c51c8b
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/application-dev.yml
@@ -0,0 +1,7 @@
+bunny:
+ datasource:
+ host: 106.15.251.123
+ port: 3305
+ sqlData: db_spzx
+ username: root
+ password: "02120212"
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/application.yml b/spzx-service/service-product/src/main/resources/application.yml
new file mode 100644
index 0000000..09d4936
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/application.yml
@@ -0,0 +1,22 @@
+server:
+ port: 8511
+spring:
+ profiles:
+ active: dev
+ application:
+ name: service-product
+
+ cloud:
+ nacos:
+ server-addr: 192.168.1.5:8848
+
+ datasource:
+ type: com.zaxxer.hikari.HikariDataSource
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
+ username: ${bunny.datasource.username}
+ password: "${bunny.datasource.password}"
+
+mybatis:
+ config-location: classpath:mybatis-config.xml
+ mapper-locations: classpath:/mapper/*/*.xml
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/logback-spring.xml b/spzx-service/service-product/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..acce308
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/logback-spring.xml
@@ -0,0 +1,57 @@
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INFO
+
+
+ ${CONSOLE_LOG_PATTERN}
+ ${ENCODING}
+
+
+
+
+
+ ${log.path}//log.log
+ true
+
+ %date{yyyy-MM-dd HH:mm:ss} %msg%n
+ ${ENCODING}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spzx-service/service-user/pom.xml b/spzx-service/service-user/pom.xml
new file mode 100644
index 0000000..7cdae02
--- /dev/null
+++ b/spzx-service/service-user/pom.xml
@@ -0,0 +1,23 @@
+
+ 4.0.0
+
+ com.atguigu
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ service-user
+ jar
+
+ service-user
+ https://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+
+
diff --git a/spzx-service/service-user/src/main/resources/application-dev.yml b/spzx-service/service-user/src/main/resources/application-dev.yml
new file mode 100644
index 0000000..5c51c8b
--- /dev/null
+++ b/spzx-service/service-user/src/main/resources/application-dev.yml
@@ -0,0 +1,7 @@
+bunny:
+ datasource:
+ host: 106.15.251.123
+ port: 3305
+ sqlData: db_spzx
+ username: root
+ password: "02120212"
\ No newline at end of file
diff --git a/spzx-service/service-user/src/main/resources/application.yml b/spzx-service/service-user/src/main/resources/application.yml
new file mode 100644
index 0000000..09d4936
--- /dev/null
+++ b/spzx-service/service-user/src/main/resources/application.yml
@@ -0,0 +1,22 @@
+server:
+ port: 8511
+spring:
+ profiles:
+ active: dev
+ application:
+ name: service-product
+
+ cloud:
+ nacos:
+ server-addr: 192.168.1.5:8848
+
+ datasource:
+ type: com.zaxxer.hikari.HikariDataSource
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
+ username: ${bunny.datasource.username}
+ password: "${bunny.datasource.password}"
+
+mybatis:
+ config-location: classpath:mybatis-config.xml
+ mapper-locations: classpath:/mapper/*/*.xml
\ No newline at end of file
diff --git a/spzx-service/service-user/src/main/resources/logback-spring.xml b/spzx-service/service-user/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..acce308
--- /dev/null
+++ b/spzx-service/service-user/src/main/resources/logback-spring.xml
@@ -0,0 +1,57 @@
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INFO
+
+
+ ${CONSOLE_LOG_PATTERN}
+ ${ENCODING}
+
+
+
+
+
+ ${log.path}//log.log
+ true
+
+ %date{yyyy-MM-dd HH:mm:ss} %msg%n
+ ${ENCODING}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file