Skip to content

Commit 2eb824f

Browse files
committed
Update dependencies and readme
1 parent 266d5cb commit 2eb824f

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
* 用户登录:根据用户名密码登录软件。根据账号类型(教师/学生)不同自动切换功能,必须包含一个账户名为Admin,密码为Admin的管理员帐号,此账号仅能用于管理教师和学生账户的增删改.
3434
* 课程管理:教师账号登录系统后,可以操作课程管理模块,本模块提供课程的增删改查功能,并可以展示具体某门课程的订阅学生数量.
3535
* 订阅管理:学生账号登录系统后,可以操作订阅管理模块,本模块可以查询当前有效的课程信息,并提供订阅以及取消订阅的功能.
36-
36+
3737
2 系统设计要求
3838
* 数据库请使用H2
3939
* 持久层请使用JPA以及相关技术
40-
* 对于UI的实现,至少需要使用[Thymeleaf](https://www.thymeleaf.org/)对于掌握现代UI开发的同学可以使用[Vuetify](https://vuetifyjs.com/)
40+
* 对于UI的实现,至少需要使用[Thymeleaf](https://www.thymeleaf.org/)对于掌握现代UI开发的同学,可以使用基于Vue的[Vuetify](https://vuetifyjs.com/) 或者基于React的[Ant Design](https://ant.design/)
4141

4242
> 对于评估实现需要几周甚至几个月的同学,请认真思考面试题的场景和需求,制定出编码者实际的交付计划. 项目要求里可能有不熟悉的技术要求,但是业务的基本需求非常简单,基于Spring全家桶的要求大大降低了学习成本和最小实现难度。
4343
4444

4545
### 校验方式
4646
项目根目录执行以下命令后,运行即时生成的项目
4747
> mvn clean package
48-
48+

pom.xml

+5-17
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.2.7.RELEASE</version>
8+
<version>2.7.5</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>
@@ -15,32 +15,20 @@
1515
<description>Demo project for Spring Boot</description>
1616

1717
<properties>
18-
<java.version>1.8</java.version>
19-
<maven.compiler.source>1.8</maven.compiler.source>
20-
<maven.compiler.target>1.8</maven.compiler.target>
18+
<java.version>17</java.version>
19+
<maven.compiler.source>17</maven.compiler.source>
20+
<maven.compiler.target>17</maven.compiler.target>
2121
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
22-
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
22+
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2525
</properties>
2626

2727
<dependencies>
28-
<dependency>
29-
<groupId>org.springframework.boot</groupId>
30-
<artifactId>spring-boot-starter-actuator</artifactId>
31-
</dependency>
32-
<dependency>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-starter-cache</artifactId>
35-
</dependency>
3628
<dependency>
3729
<groupId>org.springframework.boot</groupId>
3830
<artifactId>spring-boot-starter-data-jpa</artifactId>
3931
</dependency>
40-
<dependency>
41-
<groupId>org.springframework.boot</groupId>
42-
<artifactId>spring-boot-starter-quartz</artifactId>
43-
</dependency>
4432
<dependency>
4533
<groupId>org.springframework.boot</groupId>
4634
<artifactId>spring-boot-starter-security</artifactId>
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
package com.example.demo;
22

3-
import org.junit.Test;
4-
import org.junit.runner.RunWith;
3+
import org.junit.jupiter.api.Test;
54
import org.springframework.boot.test.context.SpringBootTest;
6-
import org.springframework.test.context.junit4.SpringRunner;
75

8-
@RunWith(SpringRunner.class)
96
@SpringBootTest
10-
public class DemoApplicationTests {
7+
class DemoApplicationTests {
118

129
@Test
13-
public void contextLoads() {
10+
void contextLoads() {
1411
}
1512

1613
}

0 commit comments

Comments
 (0)