文档
测试

奶粉库首页接口请求

GET
index/powder/index

接口描述

3种情况:1、点击更多进入,此时有置顶产品(开挂)。2、点击品牌进入。3、点击类别进入 或则直接使用条件筛选接口

请求参数

参数名
类型
描述
必填
brand
number
如果是“更多”进入,不要传brand与cate两个参数,如果品牌进入,则只传brand,如果类别进入,那么只传cate
可选
cate
number
如果是“更多”进入,不要传brand与cate两个参数,如果品牌进入,则只传brand,如果类别进入,那么只传cate
可选
page
number
首次进入时,不用传page,下拉加载时,page的初始值从2开始
可选

响应参数

参数名
类型
描述
必填
data
默认加载 30条
必填
id
number
必填
name
string
奶粉名称
必填
thumbnail
string
图片路仅
必填
thumbnail_alt
string
图片描述
必填
m_source
string
奶源地
必填
m_click
number
点击量
可选
price
number
价格
必填

说明 / 示例

```json { "normal": [ { "id": 9, "name": "飞鹤星飞帆奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051396835.jpg", "thumbnail_alt": "x", "m_click": 124530, "m_source": "中国", "area": "中国", "price": 308 }, { "id": 22, "name": "优博瑞慕奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051114681.jpg", "thumbnail_alt": "x", "m_click": 113613, "m_source": "法国", "area": "法国", "price": 368 }, { "id": 7, "name": "飞鹤星飞帆奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051372993.jpg", "thumbnail_alt": "x", "m_click": 63587, "m_source": "中国", "area": "中国", "price": 368 }, { "id": 118, "name": "蓝河姆阿普奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051358828.jpg", "thumbnail_alt": "x", "m_click": 60108, "m_source": "新西兰", "area": "新西兰", "price": 358 }, { "id": 914, "name": "欧士达羊奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019081524177.jpg", "thumbnail_alt": "x", "m_click": 58469, "m_source": "西班牙", "area": "中国", "price": 398 }, { "id": 1160, "name": "君乐宝至臻A2奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2020033034245.jpg", "thumbnail_alt": "x", "m_click": 53429, "m_source": "中国", "area": "中国", "price": 298 }, { "id": 85, "name": "伊利金领冠珍护奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051351179.jpg", "thumbnail_alt": "x", "m_click": 51986, "m_source": "新西兰", "area": "中国", "price": 318 }, { "id": 220, "name": "海普诺凯1897荷致奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051473292.jpg", "thumbnail_alt": "x", "m_click": 46720, "m_source": "荷兰", "area": "荷兰", "price": 458 }, { "id": 8, "name": "飞鹤星飞帆奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051310226.jpg", "thumbnail_alt": "x", "m_click": 46401, "m_source": "中国", "area": "中国", "price": 308 }, { "id": 1, "name": "飞鹤智纯臻稚有机奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051370471.jpg", "thumbnail_alt": "x", "m_click": 45829, "m_source": "中国", "area": "中国", "price": 358 }, { "id": 115, "name": "蓝河羊奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051386867.jpg", "thumbnail_alt": "x", "m_click": 45613, "m_source": "新西兰、意大利", "area": "新西兰", "price": 458 }, { "id": 367, "name": "爱他美卓萃白金版奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051467923.jpg", "thumbnail_alt": "x", "m_click": 39822, "m_source": "荷兰", "area": "荷兰", "price": 345 }, { "id": 109, "name": "惠氏启赋奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051373995.jpg", "thumbnail_alt": "x", "m_click": 36821, "m_source": "爱尔兰", "area": "爱尔兰", "price": 368 }, { "id": 299, "name": "飞鹤精粹益加奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051487340.jpg", "thumbnail_alt": "x", "m_click": 36581, "m_source": "中国", "area": "中国", "price": 318 }, { "id": 101, "name": "贝因美天才宝贝艾贝可奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051362608.jpg", "thumbnail_alt": "x", "m_click": 35995, "m_source": "中国", "area": "中国", "price": 338 }, { "id": 291, "name": "飞鹤臻爱飞帆奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051488446.jpg", "thumbnail_alt": "x", "m_click": 35489, "m_source": "中国", "area": "中国", "price": 328 }, { "id": 52, "name": "佳贝艾特悦白羊奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2020042719304.jpg", "thumbnail_alt": "x", "m_click": 35079, "m_source": "荷兰", "area": "荷兰", "price": 468 }, { "id": 218, "name": "海普诺凯1897荷致奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051415747.jpg", "thumbnail_alt": "x", "m_click": 33074, "m_source": "荷兰", "area": "荷兰", "price": 458 }, { "id": 836, "name": "伊利金领冠塞纳牧有机奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019071050054.jpg", "thumbnail_alt": "x", "m_click": 32851, "m_source": "丹麦", "area": "中国", "price": 398 }, { "id": 219, "name": "海普诺凯1897荷致奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051421215.jpg", "thumbnail_alt": "x", "m_click": 32714, "m_source": "荷兰", "area": "荷兰", "price": 458 }, { "id": 292, "name": "飞鹤臻爱飞帆奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051410095.jpg", "thumbnail_alt": "x", "m_click": 31728, "m_source": "中国", "area": "中国", "price": 298 }, { "id": 51, "name": "佳贝艾特悦白羊奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2020042748002.jpg", "thumbnail_alt": "x", "m_click": 31603, "m_source": "荷兰", "area": "荷兰", "price": 468 }, { "id": 116, "name": "蓝河姆阿普奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051363045.jpg", "thumbnail_alt": "x", "m_click": 30955, "m_source": "新西兰", "area": "新西兰", "price": 358 }, { "id": 376, "name": "君乐宝乐臻奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051447662.jpg", "thumbnail_alt": "x", "m_click": 30591, "m_source": "中国", "area": "中国", "price": 258 }, { "id": 363, "name": "皇家美素佳儿奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051428669.jpg", "thumbnail_alt": "x", "m_click": 29086, "m_source": "荷兰", "area": "荷兰", "price": 378 }, { "id": 117, "name": "蓝河姆阿普奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051324501.jpg", "thumbnail_alt": "x", "m_click": 28552, "m_source": "新西兰", "area": "新西兰", "price": 358 }, { "id": 1266, "name": "君乐宝优萃有机奶粉1段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2020031215561.jpg", "thumbnail_alt": "x", "m_click": 28331, "m_source": "中国", "area": "中国", "price": 329 } ], "topping": [ { "id": 3, "name": "飞鹤智纯臻稚有机奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051306141.jpg", "thumbnail_alt": "x", "m_click": 22331, "m_source": "中国", "area": "中国", "price": 358 }, { "id": 6, "name": "飞鹤星阶优护奶粉3段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051364056.jpg", "thumbnail_alt": "x", "m_click": 11209, "m_source": "中国", "area": "中国", "price": 278 }, { "id": 8, "name": "飞鹤星飞帆奶粉2段", "thumbnail": "https://www.naifenzhiku.com/public/webuploader/upload/file_2019051310226.jpg", "thumbnail_alt": "x", "m_click": 46401, "m_source": "中国", "area": "中国", "price": 308 } ] } ```