调整登录态默认存储到provider目录
This commit is contained in:
@@ -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 已替换为你自己的值
|
||||
|
||||
Reference in New Issue
Block a user