调整登录态默认存储到provider目录

This commit is contained in:
liuwei
2026-05-07 10:29:03 +08:00
parent d0acd33b66
commit c55053710a
13 changed files with 50 additions and 29 deletions

View File

@@ -63,8 +63,8 @@ docker compose up -d --build
登录后的 `wxid / device_id / device_name` 会自动写入本地状态缓存:
- 默认路径:`temp/wechat_ipad/config.toml`
- Compose 已将宿主机的 `./temp` 目录映射进容器
- 默认路径:`wechat_ipad/providers/<server_type>/runtime_state.toml`
- Compose 已将宿主机的 `./wechat_ipad/providers` 目录映射进容器
- 因此容器重建后,已有登录态仍会保留
兼容说明:
@@ -116,5 +116,5 @@ docker compose up -d --build
1. `.env` 未提交
2. `config.yaml` 未提交真实密钥
3. `temp/wechat_ipad/config.toml` 未被误公开
3. `wechat_ipad/providers/*/runtime_state.toml` 未被误公开
4. Dashboard 账号密码与 webhook token 已替换为你自己的值