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

Commit 839ba9c

Browse files
committed
Update docs
1 parent bf01d66 commit 839ba9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/3.2/API.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,15 +448,14 @@ GET /send_private_msg?access_token=kSLuTF2GC2Q4q4ugm3&user_id=123456&message=hel
448448

449449
| 字段名 | 数据类型 | 说明 |
450450
| ----- | ------- | --- |
451-
| `good` | boolean | 插件状态符合预期,意味着已初始化且需要启动的服务都在正常运行 |
451+
| `good` | boolean | 插件状态符合预期,意味着插件已初始化,需要启动的服务都在正常运行,且 QQ 在线(v3.2.2 新增) |
452452
| `app_initialized` | boolean | 插件已初始化 |
453453
| `app_enabled` | boolean | 插件已启用 |
454+
| `online` | boolean | 当前 QQ 在线(v3.2.2 新增) |
454455
| `http_service_good` | boolean | `use_http` 配置项为 `yes` 时有此字段,表示 HTTP 服务正常运行 |
455456
| `ws_service_good` | boolean | `use_ws` 配置项为 `yes` 时有此字段,表示 WebSocket 服务正常运行 |
456457
| `ws_reverse_service_good` | boolean | `use_ws_reverse` 配置项为 `yes` 时有此字段,表示反向 WebSocket 服务正常运行 |
457458

458-
正常情况下接口返回的每一项都应该是 `true`
459-
460459
### `/get_version_info` 获取酷 Q 及 HTTP API 插件的版本信息
461460

462461
#### 参数

0 commit comments

Comments
 (0)