宠物领养服务-宠物领养数据格式文档
类目type
| key | 说明 | define |
| type | 类型编号 | 15026 |
搜索模式
1. [城市]+[行政区]+宠物领养
搜索词示例: 宠物领养
意图字段
| key | 类型 | 示例 |
| district | string | 海珠区 |
| city | string | 广州市 |
| gps_district | string | 海珠区 |
| gps_city | string | 广州市 |
意图数据
{"type":15026,"slot_list":[{"key":"gps_city","value":"广州市"},{"key":"gps_district","value":"海珠区"},{"key":"city","value":"广州市"},{"key":"district","value":"海珠区"}]}
2. [城市]+[行政区]+宠物类型+领养
搜索词示例: 小猫领养
意图字段
| key | 类型 | 示例 |
| pet_type | string | 猫 |
| gps_city | string | 广州市 |
| gps_district | string | 海珠区 |
| city | string | 广州市 |
| district | string | 海珠区 |
意图数据
{"type":15026,"slot_list":[{"key":"pet_type","value":"猫"},{"key":"gps_city","value":"广州市"},{"key":"gps_district","value":"海珠区"},{"key":"city","value":"广州市"},{"key":"district","value":"海珠区"}]}
数据字段
| key | 类型 | 含义 | 说明 |
| err_code | integer | 返回值 | 0代表正确,非0代表错误 请按如下规范返回错误码并且前端显示提示语: -1: 无结果 -2: 参数不对 -3: 系统错误 |
| err_msg | string | 提示信息 | 针对于返回码的描述信息 |
| jump_url | string | 跳转路径 | 点击widget的跳转路径 |
| jump_more | string | 跳转更多path | /pages/more/more |
| more_description | string | 跳转更多文案 | 点击查看更多结果 |
| pet_img | string | 宠物图片 | http:// |
| pet_address | string | 所在地区 | 广州天河 |
| pet_type | string | 宠物品种 | 泰迪 |
| pet_desc1 | string | 送养原因 | 要搬家,没时间 |
| pet_desc2 | string | 领养要求 | 有爱心,经济独立 |
| pet_desc3 | string | 是否收费 | 免费 |
| pet_btn_text | string | 按钮文案 | 查看详情 |
基于不同的搜索模式与自定义模板,开发者实际需要返回的数据字段为本文档所罗列的数据字段的子集。本文档仅做参考,开发者可在选择模板后,在微信公众平台下载相应的接口协议文档。详情见开发后台接口。