简要描述:

  • 标签商品

请求URL:

GET/&route=plugin.skin-check.api.skin-check.label-goods

参数:

参数名 是否必须 类型 说明
label_id int 标签id

返回参数 data说明:

参数名 是否必须 类型 说明
id int 商品id
title string 商品名
thumb string 商品图片
market_price float 原价
price float 现价
label.label_name string 商品的标签

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": [
		{
			"id": 115,
			"title": "测试商品发布",
			"thumb": "/newimage/55812ff61cb4764ce2c995bdd7c37d91.jpg",
			"market_price": "200.00",
			"price": "100.00",
			"cost_price": "0.00",
			"stock": 253,
			"real_sales": 31,
			"show_sales": 31,
			"virtual_sales": 0,
			"has_option": 1,
			"plugin_id": 0,
			"status_name": null,
			"label": [
				{
					"id": 5,
					"label_name": "去黑色素",
					"pivot": {
						"goods_id": 115,
						"label_id": 5
					}
				}
			]
		}
	]
}

错误时返回:

备注: