打分、评论接口
功能
打分、评论
地址
/api/user/recordscore
请求方法
POST
参数说明
| 名称 | 类型 | 说明 | 备注 | 是否必须 |
|---|---|---|---|---|
| record_id | int | 工作记录id | 是 | |
| effect_score | int | 0~10中的一个,包括0到10 | 否,默认是null | |
| problems_score | ||||
| suggestion_score | ||||
| workplan_score | ||||
| achieve_score | ||||
| effect_comment | str | 评论 | 否,默认是null | |
| problems_comment | ||||
| suggestion_comment | ||||
| workplan_comment | ||||
| achieve_comment |
effect_comment、problems_comment、suggestion_comment、workplan_comment 2022.05.05 新增
achieve_score、achieve_comment 2022.05.19 新增
返回格式
{"status": 0,"msg": "操作成功"}或者{"status": 1,"msg": "分数只能在0~10范围内"}
