登录成功

This commit is contained in:
2025-10-06 16:20:05 +08:00
parent a3e8687b31
commit a58f316703
54 changed files with 17818 additions and 622 deletions

View File

@@ -1,5 +1,11 @@
server:
port: 8080
servlet:
context-path: /schoolNewsServ
encoding:
charset: UTF-8
enabled: true
force: true
spring:
application:
name: school-news-admin
@@ -16,6 +22,33 @@ spring:
connection-timeout: 30000
idle-timeout: 600000
max-lifetime: 1800000
# Redis配置
data:
redis:
# Redis服务器地址
host: localhost
# Redis服务器端口
port: 6379
# Redis密码如果没有设置密码可以留空或注释掉
password: 123456
# Redis数据库索引0-15默认为0
database: 0
# 连接超时时间(毫秒)
timeout: 10000
# Lettuce连接池配置
lettuce:
pool:
# 连接池最大连接数
max-active: 50
# 连接池最大阻塞等待时间(负值表示没有限制)
max-wait: 3000
# 连接池中的最大空闲连接
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 5
# 关闭超时时间
shutdown-timeout: 100ms
# 认证配置
school-news:
@@ -71,11 +104,9 @@ mybatis-plus:
# 日志配置
logging:
config: classpath:log4j2-spring.xml
level:
org.xyzh: DEBUG
org.xyzh.auth: DEBUG
org.xyzh.system: DEBUG
org.xyzh.news: DEBUG
charset:
console: UTF-8
file: UTF-8
# 管理端点配置
management:
@@ -86,13 +117,4 @@ management:
endpoint:
health:
show-details: when-authorized
# 文档配置
springdoc:
api-docs:
path: /v3/api-docs
swagger-ui:
path: /swagger-ui.html
tags-sorter: alpha
operations-sorter: alpha
debug: true