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

@@ -62,6 +62,8 @@ pub struct CorsConfig {
pub struct WechatConfig {
pub appid: String,
pub secret: String,
#[serde(default)]
pub dev_mode: bool,
}
#[derive(Debug, Clone, Deserialize)]