[TOC]
简要描述
请求URL
http://localhost:30001/SendFileMsg
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
wxid |
是 |
string |
对方微信ID/群ID |
filepath |
是 |
string |
文件全路径 |
diyfilename |
否 |
string |
自定义文件名称 |
发送示例1 (本地文件)
{
"wxid": "filehelper",
"filepath": "c:\\1.txt"
}
发送示例2 (网络文件)
{
"wxid": "filehelper",
"filepath": "http://newsoft04.rbread09.cn/2022/03/30/Dbgview.rar?timestamp=6396bed5&auth_key=ed0a7abd3d8f64f0d86b12cc4163f6d6&sign=ae0608cbee2a2ed7cc619e1eb3d25387&t=6396cce5",
"diyfilename": "dbgview.rar"
}
返回示例
{
"success": "1",
}
返回参数说明
参数名 |
类型 |
说明 |
success |
string |
1=操作成功 0=操作失败 |
备注