feat(archive-service): 新增敏感词风控相关实体与Mapper feat(archive-service): 新增会话统计相关VO类 refactor(archive-service): 移除ArchiveMessage的deleted逻辑字段 fix: 修正数据库连接字符集配置为UTF-8 style(frontend): 优化nginx缓存配置规则 refactor(conversation-service): 替换var为显式类型声明
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
server:
|
|
servlet:
|
|
encoding:
|
|
charset: UTF-8
|
|
enabled: true
|
|
force: true
|
|
port: 8081
|
|
|
|
spring:
|
|
application:
|
|
name: auth-service
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:ai_assistant}?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
|
username: ${MYSQL_USERNAME:root}
|
|
password: ${MYSQL_PASSWORD:root}
|
|
redis:
|
|
host: ${REDIS_HOST:localhost}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PASSWORD:}
|
|
database: 0
|
|
lettuce:
|
|
pool:
|
|
max-active: 8
|
|
max-idle: 8
|
|
min-idle: 0
|
|
|
|
wecom:
|
|
corp-id: wwd483c2fba24ae30a
|
|
agent-id: 1000021
|
|
secret: nU1xezyHyonS9rOJ9Kwo3i5OM9iuWc1TrjXf-rOYZx0
|
|
|
|
jwt:
|
|
secret: ${JWT_SECRET:9artedu-ai-assistant-jwt-secret-key-2024}
|
|
expiration: 86400
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
global-config:
|
|
db-config:
|
|
logic-delete-field: deleted
|
|
logic-delete-value: 1
|
|
logic-not-delete-value: 0
|