收藏夹/添加位置收藏

简要描述

  • 添加位置收藏。

请求URL

  • http://127.0.0.1:8888/api/

请求方式

  • POST

参数

参数名必选类型说明
typeint接口编号
fromUserNamestring消息来源用户wxid
toUserNamestring消息接收用户wxid
poiLabelstring地理位置信息(大)
poiNamestring地理位置信息(小)
longitudedouble经度
latitudedouble纬度
msgSourceIDstring关联的消息id

请求示例

 {
  "type": 10124,
  "fromUserName": "wxid_xxxx",
  "toUserName": "filehelper",
  "poiLabel": "阿拉善左旗",
  "poiName": "阿拉善左旗腾格里额里斯镇其日格呼都格",
  "longitude": 104.56634521484375,
  "latitude": 38.00156021118164,
  "msgSourceID": "18446744073111111111",
 }

返回示例

  {
    "data": {
      "status": 0,
      "desc": "",
    }
  }

返回参数说明

参数名类型说明
error_codeint错误代码
descriptionstring错误描述
datajson业务数据

备注