Authorization: ********************{
"rating": "1",
"comment": "string",
"images": [
"string"
],
"images.*": "string"
}curl --location --request PUT 'http://perfit-api.test.muke.design/api/client/reviews/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"rating": "1",
"comment": "string",
"images": [
"string"
],
"images.*": "string"
}'{
"code": 200,
"message": "评价修改成功,等待审核",
"data": {
"id": 1,
"user_id": 1,
"user_name": "张三",
"target_type": "coach",
"target_id": 1,
"booking_id": 1,
"rating": 5,
"comment": "教练很专业,课程很棒!",
"images": [
"https://example.com/reviews/1.jpg"
],
"status": "pending",
"created_at": "2024-01-10T10:00:00Z"
}
}