{
"postage": "9.90",
"recommend": [
"is_hot",
"is_best"
],
"presale": 1,
"presale_day": 1,
"presale_time": [
"2022-07-20 00:00",
"2022-08-20 00:00"
],
"is_limit": 0,
"limit_type": 0,
"limit_num": 0,
"video_open": 0,
"video_link": "",
"vip_product": 0,
"store_name": "美的(Midea)电磁炉 旋控调节火力 C22-RX22H0107",
"cate_id": [
2
],
"keyword": "电磁炉 美的",
"unit_name": "件",
"store_info": "美的xxxxx",
"slider_image": [
"https://data44.wuht.net//uploads/attach/2022/01/15/f391b023d240b73f13fe0f5d08250884.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/6fc4a434065f9b20da5d68e2b7915069.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/1d6a58df8f136925bffa326b22a59d1a.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/80475fb57727e34049b902efa8bcdf4f.jpg"
],
"description": "<p>详情</p>",
"ficti": 0,
"give_integral": 0,
"sort": 10,
"is_show": 1,
"spec_type": 1,
"attrs": [
{
"value1": "大面版",
"value2": "30寸",
"detail": {
"锅型": "大面版",
"尺寸": "30寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-01",
"weight": "21.00",
"volume": "3.00"
},
{
"value1": "大面版",
"value2": "33寸",
"detail": {
"锅型": "大面版",
"尺寸": "33寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-02",
"weight": "22.00",
"volume": "3.00"
},
{
"value1": "火锅必备",
"value2": "30寸",
"detail": {
"锅型": "火锅必备",
"尺寸": "30寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-03",
"weight": "21.00",
"volume": "3.00"
},
{
"value1": "火锅必备",
"value2": "33寸",
"detail": {
"锅型": "火锅必备",
"尺寸": "33寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-04",
"weight": "22.00",
"volume": "3.00"
}
],
"items": [
{
"value": "锅型",
"detail": [
"大面版",
"火锅必备"
]
},
{
"value": "尺寸",
"detail": [
"30寸",
"33寸"
]
}
],
"type": 0
}
curl --location --request POST '/product' \
--header 'authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ0ZXN0LnByby53dWh0Lm5ldCIsImF1ZCI6InRlc3QucHJvLnd1aHQubmV0IiwiaWF0IjoxNjQ5NzQ2MjAyLCJuYmYiOjE2NDk3NDYyMDIsImV4cCI6MTY1MDM1MTAwMiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.-xDXOdYfBNsu3IqF3nMO_E_fop2lxkwNw25fdQpzGVQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"postage": "9.90",
"recommend": [
"is_hot",
"is_best"
],
"presale": 1,
"presale_day": 1,
"presale_time": [
"2022-07-20 00:00",
"2022-08-20 00:00"
],
"is_limit": 0,
"limit_type": 0,
"limit_num": 0,
"video_open": 0,
"video_link": "",
"vip_product": 0,
"store_name": "美的(Midea)电磁炉 旋控调节火力 C22-RX22H0107",
"cate_id": [
2
],
"keyword": "电磁炉 美的",
"unit_name": "件",
"store_info": "美的xxxxx",
"slider_image": [
"https://data44.wuht.net//uploads/attach/2022/01/15/f391b023d240b73f13fe0f5d08250884.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/6fc4a434065f9b20da5d68e2b7915069.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/1d6a58df8f136925bffa326b22a59d1a.jpg",
"https://data44.wuht.net//uploads/attach/2022/01/15/80475fb57727e34049b902efa8bcdf4f.jpg"
],
"description": "<p>详情</p>",
"ficti": 0,
"give_integral": 0,
"sort": 10,
"is_show": 1,
"spec_type": 1,
"attrs": [
{
"value1": "大面版",
"value2": "30寸",
"detail": {
"锅型": "大面版",
"尺寸": "30寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-01",
"weight": "21.00",
"volume": "3.00"
},
{
"value1": "大面版",
"value2": "33寸",
"detail": {
"锅型": "大面版",
"尺寸": "33寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-02",
"weight": "22.00",
"volume": "3.00"
},
{
"value1": "火锅必备",
"value2": "30寸",
"detail": {
"锅型": "火锅必备",
"尺寸": "30寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-03",
"weight": "21.00",
"volume": "3.00"
},
{
"value1": "火锅必备",
"value2": "33寸",
"detail": {
"锅型": "火锅必备",
"尺寸": "33寸"
},
"pic": "http://www.crmebstd450.test/uploads/attach/2022/06/20220625/b4d26d8fa71a7b35ad9dfe94b7956a58.jpg",
"price": "100.00",
"cost": "90.00",
"ot_price": "80.00",
"bar_code": "MD-04",
"weight": "22.00",
"volume": "3.00"
}
],
"items": [
{
"value": "锅型",
"detail": [
"大面版",
"火锅必备"
]
},
{
"value": "尺寸",
"detail": [
"30寸",
"33寸"
]
}
],
"type": 0
}'
{
"status": 200,
"msg": "保存成功",
"data": {
"id": 78
}
}