refactor all

This commit is contained in:
Timi
2026-07-31 01:03:53 +08:00
parent 4e7f340cc6
commit e45809a0db
512 changed files with 14620 additions and 13519 deletions
+9 -14
View File
@@ -13,20 +13,7 @@ spring:
host: dev.vm.imyeyu.test
port: 6379
password:
database:
locker: 0 # ID: Integer 全局锁,ID 规范:应用:模块:业务:方法
multilingual: 1 # ID: Multilingual 多语言缓存
multilingual-map: 2 # Key: ID 多语言键缓存
article-ranking: 3 # AID: ArticleRanking(JSON) 热门文章排位
article-read: 4 # IP: [AID..] IP 阅读文章记录
user-token: 5 # TOKEN: LONG 用户登录令牌
user-exp-flag: 6 # UID: NULL 用户登录经验标记,暂时没有值,数据死亡时间为次日零时
user-email-verify: 7 # AES_KEY: UID 邮箱验证密钥缓存
user-reset-pw-verify: 8 # AES_KEY: UID 重置密码密钥缓存
qps-limit: 9 # APP.IP.method: COUNT_IN_LIFE_CYCLE 接口访问频率控制(多个系统公用,需要 App 标记)
setting: 10 # Setting: SettingValue 系统配置
fmc-player-token: 11 # TOKEN: USER_ID|PLAYER_ID MC 登录缓存
clipboard: 12 # ID: CONTENT 共享剪切板
database: 0
datasource: # 数据库配置
timiserver:
jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/timi_server?serverTimezone=UTC&characterEncoding=UTF-8
@@ -50,6 +37,14 @@ spring:
database: db
username: root
password: qweqwe123
flyway:
enabled: true
locations: classpath:db/migration/timiserver
url: ${spring.datasource.timiserver.jdbc-url}
user: ${spring.datasource.timiserver.username}
password: ${spring.datasource.timiserver.password}
baseline-on-migrate: false
validate-on-migrate: true
# CORS 跨域
cors: