Skip to content

Commit 5885ddf

Browse files
committed
整理项目结构
1 parent f6bcda5 commit 5885ddf

File tree

18 files changed

+51
-169
lines changed

18 files changed

+51
-169
lines changed

dao/pom.xml

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

dao/src/main/java/com/lmxdawn/admin/config/DruidConfiguration.java

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

dao/src/main/resources/application.properties

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

dao/src/test/java/com/lmxdawn/admin/dao/AuthAdminDaoTest.java

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

pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<version>0.0.1</version>
99
<modules>
1010
<module>entity</module>
11-
<module>dao</module>
12-
<module>service</module>
1311
<module>web</module>
1412
</modules>
1513
<packaging>pom</packaging>
@@ -30,18 +28,4 @@
3028
<java.version>1.8</java.version>
3129
</properties>
3230

33-
<dependencies>
34-
35-
<dependency>
36-
<groupId>org.springframework.boot</groupId>
37-
<artifactId>spring-boot-starter-web</artifactId>
38-
</dependency>
39-
40-
<dependency>
41-
<groupId>org.springframework.boot</groupId>
42-
<artifactId>spring-boot-starter-test</artifactId>
43-
<scope>test</scope>
44-
</dependency>
45-
</dependencies>
46-
4731
</project>

service/pom.xml

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

web/pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,42 @@
1212
<artifactId>web</artifactId>
1313

1414
<dependencies>
15+
1516
<dependency>
1617
<groupId>com.lmxdawn</groupId>
17-
<artifactId>service</artifactId>
18+
<artifactId>entity</artifactId>
1819
<version>${parent.version}</version>
1920
</dependency>
21+
22+
<dependency>
23+
<groupId>org.springframework.boot</groupId>
24+
<artifactId>spring-boot-starter-web</artifactId>
25+
</dependency>
26+
27+
<dependency>
28+
<groupId>org.mybatis.spring.boot</groupId>
29+
<artifactId>mybatis-spring-boot-starter</artifactId>
30+
<version>1.3.2</version>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>mysql</groupId>
35+
<artifactId>mysql-connector-java</artifactId>
36+
<scope>runtime</scope>
37+
</dependency>
38+
39+
<dependency>
40+
<groupId>com.alibaba</groupId>
41+
<artifactId>druid</artifactId>
42+
<version>1.1.12</version>
43+
</dependency>
44+
45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-test</artifactId>
48+
<scope>test</scope>
49+
</dependency>
50+
2051
</dependencies>
2152

2253
<build>

web/src/main/java/com/lmxdawn/admin/controller/HelloController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ public class HelloController {
1717
@GetMapping("/hello")
1818
public List<AuthAdmin> hello() {
1919
List<AuthAdmin> authAdminList = authAdminService.queryList();
20-
// System.out.println(authAdminList.size());
21-
// log.log(authAdminList.size());
20+
System.out.println(authAdminList);
2221
return authAdminList;
2322
}
2423

0 commit comments

Comments
 (0)