[关闭]
@chengxuyuan 2020-02-17T08:45:56.000000Z 字数 1291 阅读 336

员工社区评论考核文档

学管系统


当月帖子考核初始化

Method and URL Structure

Method Method Resource URL Descriptions Authentications Required
GET /server/community/init_staff_assess/ 考核初始化 YES

Response

  1. {"status":0, "message":""}

考核列表

Method and URL Structure

Method Method Resource URL Descriptions Authentications Required
GET /server/community/list_staff_assess/ 考核列表 YES

按条件过滤列表释义如下 :
1. owner用户账号:
/server/community/list_staff_assess/?owner=15201052252
2. month月份:
/server/community/list_staff_assess/?month=2019-01

按搜索字段释义如下 :
1. 用户名字
/server/job_management/list_staff_assess/?search=勿问情殇
2. 用户账号
/server/job_management/list_staff_assess/?search=15201052252

Response Parameters

Name Description
pk 考核 id
owner 用户信息
post_count 帖子数
comment_count 评论数
effective_comment_count 有效评论数
flower_count 有效鲜花数
total_flower_count 累计送出的鲜花数

Response

  1. {
  2. "count": 20,
  3. "next": "http://app.coding61.com/server/community/list_staff_assess/?page=2",
  4. "previous": null,
  5. "results": [
  6. {
  7. "pk": 41,
  8. "owner": {
  9. "name": "小林",
  10. "avatar": "https://static1.bcjiaoyu.com/76f29bb8902ec0f5841d544df856e44d_o.jpg-720x640",
  11. "user": "13138103332",
  12. "nickname": "kiyomi",
  13. "user_id": 27281,
  14. "is_staff": true,
  15. "segment": {
  16. "name": "青铜",
  17. "image": "https://static1.bcjiaoyu.com/community/touxiangkuangbronze.png"
  18. }
  19. },
  20. "post_count": 0,
  21. "comment_count": 0,
  22. "effective_comment_count": 0,
  23. "flower_count": 0,
  24. "total_flower_count": 132,
  25. "create_time": "2020-01-17T12:24:19.921750"
  26. }
  27. ]
  28. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注