打分、评论接口

功能

打分、评论

地址

/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 新增

返回格式

  1. {
  2. "status": 0,
  3. "msg": "操作成功"
  4. }
  5. 或者
  6. {
  7. "status": 1,
  8. "msg": "分数只能在0~10范围内"
  9. }