feat: http heart

This commit is contained in:
linyuchen
2024-04-16 20:58:29 +08:00
parent 01ab40bf4a
commit 66cc7f8a1f
6 changed files with 42 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ json 配置内容参数解释:
```json5
{
// 是否启用http服务如果启用可以通过http接口发送消息
// 是否启用http服务, true为启动false为禁用如果启用可以通过http接口发送消息
"enableHttp": false,
// http服务端口
"httpPort": 3000,
@@ -44,6 +44,8 @@ json 配置内容参数解释:
"enableHttpPost": false,
// http上报地址, 如["http://127.0.0.1:8080/onebot/v11/http"]
"httpPostUrls": [],
// 是否启用http心跳
"enableHttpHeart": false,
// http上报密钥可为空
"httpSecret": "",
// 消息上报格式array为消息组string为cq码字符串