Skip to content

产品列表

接口地址

javascript
https://tea.qingnian8.com/xzs/product/getlist
https://tea.qingnian8.com/xzs/product/getlist

请求方式

javascript
POST
POST

请求参数

参数名参数值是否必填参数类型描述说明
navid63b9600be1a35c358c18483bString分类ID
limit3Int获取多少条
size0Int分页从多少页开始
keywordString搜索关键词

秘钥验证

参数名参数值是否必填参数类型描述说明
access-key123456String放到请求头(Header)里面。
微信扫码看广告,获得秘钥参数。

响应示例

javascript
{
	"errCode": 0,
	"errMsg": "查询成功",
	"data": [
		{
			"_id": "79550af260505d0e0a53d1bc09bb7852",
			"grade": "白牡丹一级",
			"price": "1870/饼",
			"pronum": "LM-20197066",
			"title": "六妙大红印",
			"weight": "300g",
			"year": "2016年",
			"picpath": "https://cdn.qingnian8.com/project/xzs/product/36223633-84a8-4941-a485-ad68fcc5a955.jpg"
		}
	],
	"author": "接口管理员:B站咸虾米",
	"timeCost": 74
}
{
	"errCode": 0,
	"errMsg": "查询成功",
	"data": [
		{
			"_id": "79550af260505d0e0a53d1bc09bb7852",
			"grade": "白牡丹一级",
			"price": "1870/饼",
			"pronum": "LM-20197066",
			"title": "六妙大红印",
			"weight": "300g",
			"year": "2016年",
			"picpath": "https://cdn.qingnian8.com/project/xzs/product/36223633-84a8-4941-a485-ad68fcc5a955.jpg"
		}
	],
	"author": "接口管理员:B站咸虾米",
	"timeCost": 74
}
参数名参数类型描述说明
errCodeInteger0:成功
400:请求失败
errMsgString查询结果描述
timeCostInteger接口消耗时间
dataArray详情数组,见下

data参数

参数名参数类型描述说明
_idString唯一id
gradeString等级
priceString零售价
pronumString型号
titleString标题
weightString净含量
yearString年份
picpathString图片地址

咸虾米API接口率属于青年帮网络,免费提供学习及开发的接口需求,如有侵权请联系QQ:513894357