ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 基本信息 * **接口状态:**`开发中` * **接口URL:**`{{url}}/addons/zjhj_mall/core/web/index.php?r=api/default/new-yy-cats&_acid=1072&scene_param_type&scene_param_id&lat=22.72174&lng=114.06031&route=housekeeping/index/index&route_options={}&access_token=mhEVdKnbr_V5SVF3rJXwNEVixg4RJLts&_version=2.8.9&_platform=wx&page=1&limit=30&silde=1` * **请求方式:**`GET` * **Content-Type:**`multipart/form-data` ### (javascript:;)请求参数 #### (javascript:;)Query参数及说明 | 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 | | --- | --- | --- | --- | --- | | r | api/default/new-yy-cats | string | 是 | 暂无描述 | | \_acid | 1072 | string | 是 | 暂无描述 | | scene\_param\_type | | string | 是 | 暂无描述 | | scene\_param\_id | | string | 是 | 暂无描述 | | lat | 22.72174 | string | 是 | 暂无描述 | | lng | 114.06031 | string | 是 | 暂无描述 | | route | housekeeping/index/index | string | 是 | 暂无描述 | | route\_options | {} | string | 是 | 暂无描述 | | access\_token | mhEVdKnbr\_V5SVF3rJXwNEVixg4RJLts | string | 是 | 暂无描述 | | \_version | 2.8.9 | string | 是 | 暂无描述 | | \_platform | wx | string | 是 | 暂无描述 | | page | 1 | string | 是 | 分页页码 初始为1 | | limit | 30 | string | 是 | 固定每页显示30个分类,到底加载请求接口 合并数据 page+1 | | silde | 1 | string | 是 | 固定为1 | ### (javascript:;)响应示例 #### (javascript:;)成功响应示例 ~~~ { "code": 0, "msg": "success", "data": { "cat_list": [ { "id": "6", "parent_id": "0", "pic_url": "", "name": "保洁服务", "sort": "1", "list": [ { "id": "6", "parent_id": "0", "pic_url": "", "name": "全部", "sort": "1" } ] }, { "id": "7", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/6ce8066d14cf0ae4a7ceda44d1c99ea1bf4a09c4.jpg", "name": "商家分类", "sort": "1", "list": [ { "id": "7", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/6ce8066d14cf0ae4a7ceda44d1c99ea1bf4a09c4.jpg", "name": "全部", "sort": "1" } ] }, { "id": "8", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/6dbccf2da36e0c834acd38e04b63185b3c89292c.jpg", "name": "商家分类2", "sort": "1", "list": [ { "id": "8", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/6dbccf2da36e0c834acd38e04b63185b3c89292c.jpg", "name": "全部", "sort": "1" } ] }, { "id": "10", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/59af6a562866dd0ce632b6b21325242e27be15ad.png", "name": "上门回收A类", "sort": "1", "list": [ { "id": "10", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/59af6a562866dd0ce632b6b21325242e27be15ad.png", "name": "全部", "sort": "1" } ] }, { "id": "2", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "带子分类", "sort": "2", "list": [ { "id": "2", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "全部", "sort": "2" }, { "id": "3", "parent_id": "2", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "子分类", "sort": "1" } ] }, { "id": "1", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "带子分类2", "sort": "100", "list": [ { "id": "1", "parent_id": "0", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "全部", "sort": "100" }, { "id": "4", "parent_id": "1", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/fb6217bd362b62225d9b8fdca5636f5c5a2adafa.jpg", "name": "子分类2", "sort": "1" } ] }, { "id": "5", "parent_id": "0", "pic_url": "", "name": "家电清洗", "sort": "100", "list": [ { "id": "5", "parent_id": "0", "pic_url": "", "name": "全部", "sort": "100" } ] }, { "id": "9", "parent_id": "0", "pic_url": "", "name": "平台分类", "sort": "100", "list": [ { "id": "9", "parent_id": "0", "pic_url": "", "name": "全部", "sort": "100" }, { "id": "11", "parent_id": "9", "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/6aa47306f1b0d69285c1c89e35d116b4ff67c40d.png", "name": "上门回收B", "sort": "100" } ] }, { "id": "12", "parent_id": "0", "pic_url": "", "name": "11", "sort": "100", "list": [ { "id": "12", "parent_id": "0", "pic_url": "", "name": "全部", "sort": "100" } ] } ], "pic_list": [ { "pic_url": "http://tsp.weihui.com/addons/zjhj_mall/core/web/uploads/image/store_572/94569ef353f348e5099dd58024349b44b2f7f9c5.png", "page_url": "/pages/index/index", "sort": 998, "open_type": "navigate" } ] } } ~~~ #### (javascript:;)字段描述 | 参数名 | 示例值 | 参数类型 | 参数描述 | | --- | --- | --- | --- | | code | 0 | Number | 状态码 0-成功 其他状态码会带上失败的msg | | msg | success | String | 返回文字描述 | | data | | Object | 返回数据 | | data.cat\_list | | Object | 一级分类列表 | | data.cat\_list.id | 6 | Number | 一级分类id | | data.cat\_list.parent\_id | 0 | Number | 暂无描述 | | data.cat\_list.pic\_url | | Object | 一级图标 | | data.cat\_list.name | 保洁服务 | String | 一级名称 | | data.cat\_list.sort | 1 | Number | 暂无描述 | | data.cat\_list.list | | Object | 一级的二级分类列表 | | data.cat\_list.list.id | 6 | Number | 二级id | | data.cat\_list.list.parent\_id | 0 | Number | 暂无描述 | | data.cat\_list.list.pic\_url | | Object | 二级图标 | | data.cat\_list.list.name | 全部 | String | 二级名称 | | data.cat\_list.list.sort | 1 | Number | 暂无描述 | | data.pic\_list | | Object | 轮播图列表 | | data.pic\_list.pic\_url | http://tsp.weihui.com/addons/zjhj\_mall/core/web/uploads/image/store\_572/94569ef353f348e5099dd58024349b44b2f7f9c5.png | String | 图片 | | data.pic\_list.sort | 998 | Number | 暂无描述 |