Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Commit b62655e

Browse files
committed
Add doc for multi qq support
1 parent e70f22c commit b62655e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

docs/Configuration.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 配置文件说明
22

3-
配置项全部填写在 `general` 中,即类似下面:
3+
默认配置填写在 `general` 中,即类似下面:
44

55
```ini
66
[general]
@@ -10,7 +10,26 @@ post_url=http://192.168.0.11:8888
1010
token=Mgep4rV49rM8Jf
1111
```
1212

13-
配置项如下:
13+
如果需要登录多个账号并执行不同的逻辑,可以对不同的账号指定不同的上报地址和监听地址,如:
14+
15+
```ini
16+
[general]
17+
host=0.0.0.0
18+
port=5700
19+
post_url=
20+
token=
21+
22+
[12345678]
23+
post_url=http://192.168.0.11:8888
24+
token=Mgep4rV49rM8Jf
25+
26+
[23456789]
27+
port=5701
28+
```
29+
30+
`[]` 中的也就是要配置的 QQ 号,其下方的配置会覆盖最上面 `general` 里的配置。注意 `general` 一定要放在最上方,因为最先读取它,然后继续读下面和当前登录号匹配的配置项。
31+
32+
支持的配置项如下:
1433

1534
| 配置项名称 | 默认值 | 说明 |
1635
| ---------- | --------- | ---------------------------------------- |

0 commit comments

Comments
 (0)