{
"orderId": "10028",
"form": [
{
"goods_id": 10038,
"order_goods_id": 10033,
"score": 10,
"content": "这个手机很不错",
"imageList": [
{},
{}
],
"uploaded": [
"10307",
"10308"
]
},
{
"goods_id": 10040,
"order_goods_id": 10034,
"score": 20,
"content": "这个酒太辣了",
"imageList": [],
"uploaded": []
}
]
}
curl --location --request POST 'http://smart-shop.itheima.net/index.php?s=/api/order.comment/submit' \
--header 'Access-Token: 1741f74aed758a688515f72572dc8e37' \
--header 'platform: h5' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": "10028",
"form": [
{
"goods_id": 10038,
"order_goods_id": 10033,
"score": 10,
"content": "这个手机很不错",
"imageList": [
{},
{}
],
"uploaded": [
"10307",
"10308"
]
},
{
"goods_id": 10040,
"order_goods_id": 10034,
"score": 20,
"content": "这个酒太辣了",
"imageList": [],
"uploaded": []
}
]
}'
{
"status": 200,
"message": "订单完成评价",
"data": []
}