mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-05 18:09:24 +08:00
修改转发消息接口文档
This commit is contained in:
parent
d818c826e5
commit
6dca99474b
37
README.md
37
README.md
@ -721,6 +721,43 @@ vcpkg
|
||||
```
|
||||
|
||||
|
||||
#### 40.转发消息**
|
||||
###### 接口功能
|
||||
> 直接转发消息
|
||||
|
||||
###### 接口地址
|
||||
> [/api/?type=40](/api/?type=40)
|
||||
|
||||
###### HTTP请求方式
|
||||
> POST JSON
|
||||
|
||||
###### 请求参数
|
||||
|参数|必选|类型|说明|
|
||||
|---|---|---|---|
|
||||
|wxid |ture |string| 消息接收人wxid |
|
||||
|msgid |ture |number| 消息id,hook消息接口中返回的消息id |
|
||||
|
||||
|
||||
###### 返回字段
|
||||
|返回字段|字段类型|说明 |
|
||||
|---|---|---|
|
||||
|code|int|返回状态,非0成功|
|
||||
|result|string|成功提示|
|
||||
|
||||
|
||||
###### 接口示例
|
||||
入参:
|
||||
``` javascript
|
||||
{
|
||||
"wxid": "filehelper",
|
||||
"msgid":7215505498606506901
|
||||
}
|
||||
```
|
||||
响应:
|
||||
``` javascript
|
||||
{"code":4344,"result":"OK"}
|
||||
```
|
||||
|
||||
|
||||
#### 44.退出登录**
|
||||
###### 接口功能
|
||||
|
Loading…
Reference in New Issue
Block a user