fix(core): 迁移修复 + 配置调整

- auth_state: 新增字段
- config/default.toml: 配置更新
- migration 078/082: 修复 SQL 语法
- state/main: 启动逻辑调整
This commit is contained in:
iven
2026-04-28 00:20:11 +08:00
parent e56cd73e49
commit 30f2452933
9 changed files with 89 additions and 12 deletions

View File

@@ -23,6 +23,7 @@ pub struct AuthState {
pub default_tenant_id: Uuid,
pub wechat_appid: String,
pub wechat_secret: String,
pub wechat_dev_mode: bool,
pub redis: Option<redis::Client>,
}