curl --location --request GET 'https://test.pro.wuht.net/adminapi/store_discounts/list/1' \
--header 'authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ0ZXN0LnByby53dWh0Lm5ldCIsImF1ZCI6InRlc3QucHJvLnd1aHQubmV0IiwiaWF0IjoxNjQ5NzQ2MjAyLCJuYmYiOjE2NDk3NDYyMDIsImV4cCI6MTY1MDM1MTAwMiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.-xDXOdYfBNsu3IqF3nMO_E_fop2lxkwNw25fdQpzGVQ'
{
"status": 0,
"msg": "string",
"data": [
{
"id": 0,
"title": "string",
"image": "string",
"type": 0,
"is_limit": 0,
"limit_num": 0,
"link_ids": "string",
"product_ids": "string",
"is_time": 0,
"start_time": 0,
"stop_time": 0,
"sort": 0,
"add_time": 0,
"free_shipping": 0,
"status": 0,
"is_del": 0,
"products": [
{
"id": 0,
"discount_id": 0,
"product_id": 0,
"title": "string",
"image": "string",
"type": 0,
"temp_id": 0,
"productAttr": [
{
"id": 0,
"product_id": 0,
"attr_name": "string",
"attr_values": [
"string"
],
"type": 0,
"attr_value": [
{
"attr": "string",
"check": true
}
]
}
],
"productValue": {
"蓝色,M1芯片标配 8G 256G,官方标品": {
"product_id": 0,
"suk": "string",
"stock": 0,
"sales": 0,
"price": "string",
"image": "string",
"unique": "string",
"cost": "string",
"bar_code": "string",
"ot_price": "string",
"vip_price": 0,
"weight": "string",
"volume": "string",
"brokerage": "string",
"brokerage_two": "string",
"type": 0,
"quota": 0,
"quota_show": 0,
"product_stock": 0,
"product_price": "string"
},
"黑色": {
"product_id": 0,
"suk": "string",
"stock": 0,
"sales": 0,
"price": "string",
"image": "string",
"unique": "string",
"cost": "string",
"bar_code": "string",
"ot_price": "string",
"vip_price": 0,
"weight": "string",
"volume": "string",
"brokerage": "string",
"brokerage_two": "string",
"type": 0,
"quota": 0,
"quota_show": 0,
"product_stock": 0,
"product_price": "string"
},
"默认": {
"product_id": 0,
"suk": "string",
"stock": 0,
"sales": 0,
"price": "string",
"image": "string",
"unique": "string",
"cost": "string",
"bar_code": "string",
"ot_price": "string",
"vip_price": 0,
"weight": "string",
"volume": "string",
"brokerage": "string",
"brokerage_two": "string",
"type": 0,
"quota": 0,
"quota_show": 0,
"product_stock": 0,
"product_price": "string"
}
}
}
],
"min_price": 0
}
]
}