简要描述:
请求域名:
- http://xx.com
请求URL:
GET/plugin.member-tags.Backend.controllers.tag.getCategory
###请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
pid | 是 | int | 父级id(一级分类父级id 为0) |
返回示例:
{
"result":1,
"msg":"成功",
"data":{
"list":[
{
"id":1,
"name":"1"
},
{
"id":9,
"name":"护肤"
},
{
"id":10,
"name":"口服"
},
{
"id":17,
"name":"护肤美体"
},
{
"id":29,
"name":"彩妆香氛"
},
{
"id":39,
"name":"个护清洁"
},
{
"id":59,
"name":"数码家电"
},
{
"id":64,
"name":"箱包服饰"
},
{
"id":71,
"name":"生活食品"
},
{
"id":77,
"name":"休闲零食"
},
{
"id":80,
"name":"防晒专区"
},
{
"id":82,
"name":"饼干+益生元"
},
{
"id":84,
"name":"胶原蛋白+胶原蛋白面膜"
},
{
"id":86,
"name":"多维透润弹力面膜+娇颜新生眼部套组"
},
{
"id":93,
"name":"三佳三专区"
},
{
"id":94,
"name":"诺莱维专区"
},
{
"id":99,
"name":"1"
},
{
"id":101,
"name":"权益金"
},
{
"id":103,
"name":"测试一级"
},
{
"id":105,
"name":"标间"
},
{
"id":107,
"name":"标间"
},
{
"id":108,
"name":"双人间"
},
{
"id":111,
"name":"酒店一级分类"
},
{
"id":113,
"name":"测试一级"
},
{
"id":115,
"name":"服装"
},
{
"id":116,
"name":"渔具"
},
{
"id":119,
"name":"视频"
},
{
"id":122,
"name":"积分兑换"
},
{
"id":124,
"name":"抽奖专用产品"
},
{
"id":135,
"name":"抽奖礼品"
},
{
"id":146,
"name":"试用产品"
},
{
"id":148,
"name":"不限食产品"
},
{
"id":160,
"name":"爱心值礼品"
},
{
"id":163,
"name":"手环+纸巾"
},
{
"id":165,
"name":"体温计+拖鞋"
},
{
"id":167,
"name":"沐浴露+按摩仪"
},
{
"id":169,
"name":"洗发水+灭蚊器"
},
{
"id":171,
"name":"灭蚊器/小悠按摩仪"
},
{
"id":173,
"name":"牙膏"
},
{
"id":175,
"name":"挂烫机"
},
{
"id":177,
"name":"净化器"
},
{
"id":185,
"name":"胶囊伞"
},
{
"id":187,
"name":"修复精华"
},
{
"id":189,
"name":"蓝月亮洗手液"
},
{
"id":191,
"name":"本色卷纸36卷"
},
{
"id":193,
"name":"手表"
},
{
"id":195,
"name":"榨汁杯"
},
{
"id":197,
"name":"路路通项链"
},
{
"id":200,
"name":"灭蚊器"
},
{
"id":202,
"name":"巴黎天使礼盒三件套"
},
{
"id":204,
"name":"消毒液"
},
{
"id":206,
"name":"口红"
},
{
"id":208,
"name":"体温计"
},
{
"id":209,
"name":"吹风机"
},
{
"id":211,
"name":"眼影盘"
},
{
"id":213,
"name":"童颜相机"
},
{
"id":215,
"name":"洗手机"
},
{
"id":217,
"name":"洗衣液"
},
{
"id":219,
"name":"电动牙刷"
},
{
"id":221,
"name":"灭蚊器/按摩仪"
},
{
"id":222,
"name":"机器人"
},
{
"id":224,
"name":"按摩仪"
},
{
"id":226,
"name":"化妆包"
},
{
"id":228,
"name":"沐浴露"
},
{
"id":229,
"name":"凉拖"
},
{
"id":231,
"name":"酸奶机"
},
{
"id":233,
"name":"圆环项链"
},
{
"id":235,
"name":"健康手环"
},
{
"id":238,
"name":"香水礼盒"
},
{
"id":240,
"name":"洗发水"
},
{
"id":244,
"name":"ipad"
},
{
"id":248,
"name":"泡沫洗手机"
},
{
"id":250,
"name":"立白洗衣皂"
},
{
"id":252,
"name":"四叶草项链"
},
{
"id":254,
"name":"酵醒"
},
{
"id":256,
"name":"胶原蛋白"
},
{
"id":258,
"name":"健康博士"
},
{
"id":262,
"name":"东菱免注水加热便当盒"
},
{
"id":264,
"name":"莫桑钻戒指"
},
{
"id":266,
"name":"净透赋活组合"
},
{
"id":268,
"name":"卡婷颐和园联名气垫"
},
{
"id":270,
"name":"祖母绿项链"
},
{
"id":272,
"name":"络派颈椎理疗按摩仪"
},
{
"id":274,
"name":"萌宠硅胶洁面仪 "
},
{
"id":275,
"name":"玛姿宝免洗洗手液"
},
{
"id":277,
"name":"保温杯"
},
{
"id":280,
"name":"香水2瓶"
},
{
"id":282,
"name":"39元通用券"
},
{
"id":287,
"name":"100积分专区"
},
{
"id":289,
"name":"300积分专区"
},
{
"id":291,
"name":"500积分专区"
},
{
"id":293,
"name":"1000积分专区"
},
{
"id":295,
"name":"8.8直播秒杀专区"
},
{
"id":297,
"name":"不限食套餐"
}
],
"level":"2"
}
}
响应参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
list | 是 | array | 分类数组 |
level | 是 | int | 分类级别 |