Skip to content

Commit 9cff0ce

Browse files
committed
update
1 parent dfa2307 commit 9cff0ce

File tree

9 files changed

+7
-221
lines changed

9 files changed

+7
-221
lines changed

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
#### 安装教程
11-
11+
0. clone下来后第一步是使用IDEA打开此项目,第二部进入终端[View -> To Windows -> Terminal] 然后输入:mvn clean install
1212
1. 第一步先启动register服务
1313
2. 第二步启动config服务
1414
3. 第三步启动gateway服务

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
#### 安装教程
11-
11+
0. clone下来后第一步是使用IDEA打开此项目,第二部进入终端[View -> To Windows -> Terminal] 然后输入:mvn clean install
1212
1. 第一步先启动register服务
1313
2. 第二步启动config服务
1414
3. 第三步启动gateway服务

configs/application.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

ssm-api/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@
6262
<artifactId>log4j</artifactId>
6363
<version>1.2.17</version>
6464
</dependency>
65-
<!-- <dependency>-->
66-
<!-- <groupId>org.springframework.cloud</groupId>-->
67-
<!-- <artifactId>spring-cloud-starter-feign</artifactId>-->
68-
<!-- </dependency>-->
6965
<dependency>
7066
<groupId>org.springframework.cloud</groupId>
7167
<artifactId>spring-cloud-starter-config</artifactId>
@@ -74,14 +70,6 @@
7470
<groupId>org.springframework.cloud</groupId>
7571
<artifactId>spring-cloud-starter-hystrix</artifactId>
7672
</dependency>
77-
<!-- <dependency>-->
78-
<!-- <groupId></groupId>-->
79-
<!-- <artifactId>mybatis-spring</artifactId>-->
80-
<!-- </dependency>-->
81-
<!-- <dependency>-->
82-
<!-- <groupId>org.mybatis.spring.boot</groupId>-->
83-
<!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
84-
<!-- </dependency>-->
8573
</dependencies>
8674

8775
<build>

ssm-api/target/classes/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ spring:
1616
database: mysql
1717
datasource:
1818
type: com.alibaba.druid.pool.DruidDataSource
19-
url: jdbc:mysql://192.168.1.138:3306/shop?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false # 内网服务器
20-
username: xm
19+
url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false # 内网服务器
20+
username: root
2121
password: 123456
2222
driver-class-name: com.mysql.jdbc.Driver
2323
# cache

ssm-common/target/classes/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ spring:
55
name: ssm-common
66
datasource:
77
type: com.alibaba.druid.pool.DruidDataSource
8-
url: jdbc:mysql://192.168.1.250:3306/shop?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false # 内网服务器
9-
username: xm
10-
password: xm188
8+
url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false # 内网服务器
9+
username: root
10+
password: 123456
1111
driver-class-name: com.mysql.jdbc.Driver
1212
sql-script-encoding: utf-8
1313
# initialSize: 5 #初始化大小

ssm-config/pom.xml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -27,51 +27,6 @@
2727
<groupId>org.springframework.cloud</groupId>
2828
<artifactId>spring-cloud-starter-eureka</artifactId>
2929
</dependency>
30-
<!-- <dependency>-->
31-
<!-- <groupId>org.springframework.boot</groupId>-->
32-
<!-- <artifactId>spring-boot-starter-actuator</artifactId>-->
33-
<!-- </dependency>-->
34-
<!-- <dependency>-->
35-
<!-- <groupId>org.springframework.cloud</groupId>-->
36-
<!-- <artifactId>spring-cloud-starter-eureka</artifactId>-->
37-
<!-- </dependency>-->
38-
<!-- <dependency>-->
39-
<!-- <groupId>org.springframework.cloud</groupId>-->
40-
<!-- <artifactId>spring-cloud-starter-config</artifactId>-->
41-
<!-- </dependency>-->
42-
<!-- <dependency>-->
43-
<!-- <groupId>org.springframework.cloud</groupId>-->
44-
<!-- <artifactId>spring-cloud-starter-hystrix</artifactId>-->
45-
<!-- </dependency>-->
46-
<!-- <dependency>-->
47-
<!-- <groupId>org.springframework.boot</groupId>-->
48-
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
49-
<!-- <scope>test</scope>-->
50-
<!-- </dependency>-->
51-
<!-- <dependency>-->
52-
<!-- <groupId>org.springframework.cloud</groupId>-->
53-
<!-- <artifactId>spring-cloud-config-server</artifactId>-->
54-
<!-- </dependency>-->
55-
<!-- <dependency>-->
56-
<!-- <groupId>com.alibaba</groupId>-->
57-
<!-- <artifactId>druid</artifactId>-->
58-
<!-- </dependency>-->
59-
<!-- <dependency>-->
60-
<!-- <groupId>mysql</groupId>-->
61-
<!-- <artifactId>mysql-connector-java</artifactId>-->
62-
<!-- </dependency>-->
63-
<!-- <dependency>-->
64-
<!-- <groupId>com.baomidou</groupId>-->
65-
<!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
66-
<!-- </dependency>-->
67-
<!-- <dependency>-->
68-
<!-- <groupId>orm.springframework.cloud</groupId>-->
69-
<!-- <artifactId>spring-boot-cloud-config-server</artifactId>-->
70-
<!-- </dependency>-->
71-
<!-- <dependency>-->
72-
<!-- <groupId>com.baomidou</groupId>-->
73-
<!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
74-
<!-- </dependency>-->
7530
</dependencies>
7631

7732
<dependencyManagement>

ssm-gateway/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@
4949
<groupId>org.springframework.cloud</groupId>
5050
<artifactId>spring-cloud-starter-config</artifactId>
5151
</dependency>
52-
<!-- <dependency>-->
53-
<!-- <groupId>org.springframework.cloud</groupId>-->
54-
<!-- <artifactId>spring-cloud-config-server</artifactId>-->
55-
<!-- </dependency>-->
5652
</dependencies>
5753

5854
<dependencyManagement>

ssm-web/pom.xml

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,6 @@
1616
<name>ssm-web</name>
1717

1818
<dependencies>
19-
<!-- <dependency>-->
20-
<!-- <groupId>org.springframework.boot</groupId>-->
21-
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
22-
<!-- <exclusions>-->
23-
<!-- <exclusion>-->
24-
<!-- <groupId>org.springframework.boot</groupId>-->
25-
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
26-
<!-- </exclusion>-->
27-
<!-- </exclusions>-->
28-
<!-- </dependency>-->
29-
<!-- <dependency>-->
30-
<!-- <groupId>org.apache.tomcat</groupId>-->
31-
<!-- <artifactId>tomcat-servlet-api</artifactId>-->
32-
<!-- <version>7.0.42</version>-->
33-
<!-- <scope>provided</scope>-->
34-
<!-- </dependency>-->
3519
<dependency>
3620
<groupId>org.springframework.cloud</groupId>
3721
<artifactId>spring-cloud-starter-eureka</artifactId>
@@ -58,48 +42,6 @@
5842
<artifactId>lombok</artifactId>
5943
</dependency>
6044

61-
<!-- Web with Tomcat + Embed -->
62-
<!-- <dependency>-->
63-
<!-- <groupId>org.springframework.boot</groupId>-->
64-
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
65-
<!-- <scope>provided</scope>-->
66-
<!-- </dependency>-->
67-
68-
<!-- JSTL -->
69-
<!-- <dependency>-->
70-
<!-- <groupId>javax.servlet</groupId>-->
71-
<!-- <artifactId>jstl</artifactId>-->
72-
<!-- </dependency>-->
73-
<!-- <dependency>-->
74-
<!-- <groupId>javax.servlet</groupId>-->
75-
<!-- <artifactId>javax.servlet-api</artifactId>-->
76-
<!-- </dependency>-->
77-
78-
<!-- Need this to compile JSP -->
79-
<!-- <dependency>-->
80-
<!-- <groupId>org.apache.tomcat.embed</groupId>-->
81-
<!-- <artifactId>tomcat-embed-jasper</artifactId>-->
82-
<!-- <scope>provided</scope>-->
83-
<!-- </dependency>-->
84-
85-
<!--Need this to compile JSP-->
86-
<!-- <dependency>-->
87-
<!-- <groupId>org.eclipse.jdt.core.compiler</groupId>-->
88-
<!-- <artifactId>ecj</artifactId>-->
89-
<!-- <version>4.6.1</version>-->
90-
<!-- <scope>provided</scope>-->
91-
<!-- </dependency>-->
92-
93-
<!-- <dependency>-->
94-
<!-- <groupId>org.springframework.session</groupId>-->
95-
<!-- <artifactId>spring-session-data-redis</artifactId>-->
96-
<!-- </dependency>-->
97-
98-
<!-- <dependency>-->
99-
<!-- <groupId>org.springframework.boot</groupId>-->
100-
<!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
101-
<!-- </dependency>-->
102-
<!-- Web -->
10345
<dependency>
10446
<groupId>org.springframework.boot</groupId>
10547
<artifactId>spring-boot-starter-web</artifactId>
@@ -136,43 +78,6 @@
13678
<build>
13779
<finalName>${project.name}</finalName>
13880
<plugins>
139-
<!-- <plugin>-->
140-
<!-- <groupId>org.springframework.boot</groupId>-->
141-
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
142-
<!-- <version>1.4.2.RELEASE</version>-->
143-
<!-- </plugin>-->
144-
<!-- <plugin>-->
145-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
146-
<!-- <artifactId>maven-resources-plugin</artifactId>-->
147-
<!-- <configuration>-->
148-
<!-- <overwrite>true</overwrite>-->
149-
<!-- </configuration>-->
150-
<!-- </plugin>-->
151-
<!-- <plugin>-->
152-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
153-
<!-- <artifactId>maven-war-plugin</artifactId>-->
154-
<!-- <configuration>-->
155-
<!-- <warSourceExcludes>src/main/resources/**</warSourceExcludes>-->
156-
<!-- <warName>springBoot</warName>-->
157-
<!-- </configuration>-->
158-
<!-- </plugin>-->
159-
<!-- <plugin>-->
160-
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
161-
<!-- <configuration>-->
162-
<!-- <source>${maven.compiler.source}</source>-->
163-
<!-- <target>${maven.compiler.target}</target>-->
164-
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
165-
<!-- </configuration>-->
166-
<!-- </plugin>-->
167-
<!-- ??????? -->
168-
<!-- <plugin>-->
169-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
170-
<!-- <artifactId>maven-surefire-plugin</artifactId>-->
171-
<!-- <version>2.18.1</version>-->
172-
<!-- <configuration>-->
173-
<!-- <skipTests>true</skipTests>-->
174-
<!-- </configuration>-->
175-
<!-- </plugin>-->
17681
<plugin>
17782
<groupId>org.springframework.boot</groupId>
17883
<artifactId>spring-boot-maven-plugin</artifactId>

0 commit comments

Comments
 (0)