library-picturebook-activity/backend-java/src/main/resources/application-dev.yml
En fa42eca339 feat: 数据库注释补全、常量枚举重构及多模块优化
- 新增 Flyway V6/V7 迁移脚本,为全部 42 张表、591 个列添加中文注释
- 抽取公共常量类(BaseEntityConstants、CacheConstants、RoleConstants、TenantConstants)
- 新增业务枚举(CommonStatus、RegistrationStatus、WorkStatus 等 11 个)
- 优化赛事/作业/评审/UGC 等模块服务层代码
- 更新乐读派(leai)模块配置与 API 客户端
- 更新 e2e 测试用例及 demo 文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:37:14 +08:00

53 lines
1.3 KiB
YAML

spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.1.250:3306/competition_management?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: lesingle-creation-test
password: 8ErFZiPBGbyrTHsy
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: 5
min-idle: 5
max-active: 20
max-wait: 60000
data:
redis:
host: ${REDIS_HOST:192.168.1.250}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:QWErty123}
database: ${REDIS_DB:8}
timeout: 5000ms
lettuce:
pool:
max-active: 20
max-idle: 20
min-idle: 5
max-wait: -1ms
flyway:
clean-disabled: false
# 开发环境开启 SQL 日志
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
oss:
secret-id: ${COS_SECRET_ID:}
secret-key: ${COS_SECRET_KEY:},
bucket: ${COS_BUCKET:}
region: ${COS_REGION:ap-guangzhou}
url-prefix: ${COS_URL_PREFIX:}
logging:
level:
com.competition: debug
# 乐读派 AI 创作系统配置
leai:
org-id: ${LEAI_ORG_ID:gdlib}
app-secret: ${LEAI_APP_SECRET:leai_mnoi9q1a_mtcawrn8y}
api-url: ${LEAI_API_URL:http://192.168.1.120:8080}
h5-url: ${LEAI_H5_URL:http://192.168.1.120:3001}