简要描述:

-新聚合页接口

请求域名:

  • http://xx.com

请求URL:

plugin.auction.api.index.index-page

请求参数说明:

参数名 类型 是否必需 说明
auction_type int 查询类型:0全部1进行中2即将开始3已结束

返回示例:

正确时返回:

{
	result: 1,
	msg: "",
	data: {
		rotation: [
			{
				id: 1,
				uniacid: 1,
				title: "ces ",
				img: "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2022/08/a559ba77b417ee4f3138747d7b04d4d5.png",
				url: "",
				small_url: "",
				created_at: "2022-08-01 17:26:49"
			}
		],
		list: [
			{
				title: "拍卖a",
				thumb: "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2022/07/8629dc42c019324eaa3c4da89ad02f7b.jpg",
				goods_id: 92934,
				start_price: "20.00",
				start_shooting: "1660147200",
				end_shooting: "1660233600",
				auctioneer_id: 164845,
				status_name: null
			},
			{
				title: "测试拍",
				thumb: "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2022/08/c733ff85a0a8b82ee2b98284d113e491.jpeg",
				goods_id: 92933,
				start_price: "100.00",
				start_shooting: "1660233600",
				end_shooting: "1660320000",
				auctioneer_id: 0,
				status_name: null
			},
		]
	}
}

返回参数说明:

参数名 类型 说明
rotation array 轮播图数据,跟之前一样
list array 拍品数据

返回参数说明:list

参数名 类型 说明
goods_id int 拍品id
title string 拍品名称
thumb string 拍品图片
start_price float 拍品起始价
start_shooting int 开始时间
end_shooting int 结束时间

错误时返回:

{
    "result": 0,
    "msg": "请登录",
    "data": []
}