fix(config): 修正数据库表名与Redis集成配置
- 更新UserDao查询表名从`user`改为`system_user`,字段`phone_number`改为`mobile` - 添加Spring Data Redis与Sa-Token Redis依赖,关闭多地同时登录 - 调整token名称、超时时间及本地/生产环境Redis和数据库配置 - 清理编译目录冗余配置文件并更新.gitignore忽略AGENTS.md
This commit is contained in:
12
pom.xml
12
pom.xml
@@ -25,6 +25,18 @@
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- redis -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-redis-template</artifactId>
|
||||
<version>1.44.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user