发表评论
> POST /prom/wdmp/evaluation/add
Body 请求参数
{
"evaluate": "我是评论内容",
"score": 2.5,
"coachId": 57,
"image": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
token | header | string | 否 | token |
body | body | object | 否 | none |
» coachId | body | integer(int64) | 是 | 教练id |
» evaluate | body | string | 是 | 评价 |
» image | body | string | 否 | 图片 |
» score | body | string | 是 | 评分 |
返回示例
> 200 Response
{
"code": 0,
"message": "string",
"success": true
}