[TOC]
简要描述
请求URL
http://localhost:30001/SendLocationMsg
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
wxid |
是 |
string |
对方微信ID/群ID |
msg |
是 |
string |
要发送的位置消息内容(xml内容,不能有换行,注意中间的引号用\转译!) |
发送方法一(提交json)
{
"wxid": "filehelper",
"msg": "<?xml version=\"1.0\"?><msg><location x=\"29.789783\" y=\"121.574013\" scale=\"15\" label=\"鄞州区万卷路\" maptype=\"0\" poiname=\"中海国际社区65幢(宁波市鄞州区)\" poiid=\"\" buildingId=\"\" floorName=\"\" /></msg>"
}
返回示例
{
"success": "1"
}
返回参数说明
参数名 |
类型 |
说明 |
success |
string |
1=操作成功 0=操作失败 |
备注