简要描述:

  • 任务操作活动

请求域名:

  • https://dev8.yunzmall.com/business/1/

请求URL:

GET/plugin/project-manager/task/activity

参数:

参数名 是否必须 类型 说明
id int 任务ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "activity",
    "data": [
        {
            "id": 1,
            "task_id": 3,
            "operator_id": 1,
            "operator": 0,
            "operate_type": 1,
            "before": "修改任务名称",
            "after": "修改任务名称",
            "created_at": "2022-05-10 16:13:47",
            "operate_name": "名称",
            "before_content": "修改任务名称",
            "after_content": "修改任务名称",
            "has_one_operator": {
                "id": 1,
                "uniacid": 6,
                "business_id": 1,
                "uid": 2455,
                "user_id": "",
                "name": "测试员工",
                "mobile": "15012345678",
                "position": "",
                "gender": 0,
                "telephone": "",
                "email": "",
                "avatar": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc1020a663f6887d1a",
                "alias": "",
                "status": 0,
                "qr_code": "",
                "address": "",
                "open_userid": "",
                "main_department": "",
                "updated_at": null,
                "created_at": null,
                "deleted_at": null,
                "right_type": 0,
                "disabled": 0,
                "userid": "",
                "avatar_mediaid": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc1020a663f6887d1a"
            }
        },
        {
            "id": 2,
            "task_id": 3,
            "operator_id": 1,
            "operator": 1,
            "operate_type": 1,
            "before": "修改任务名称",
            "after": "修改任务名称",
            "created_at": "2022-05-16 14:26:04",
            "operate_name": "名称",
            "before_content": "修改任务名称",
            "after_content": "修改任务名称",
            "has_one_operator": {
                "id": 1,
                "uniacid": 6,
                "business_id": 1,
                "uid": 2455,
                "user_id": "",
                "name": "测试员工",
                "mobile": "15012345678",
                "position": "",
                "gender": 0,
                "telephone": "",
                "email": "",
                "avatar": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc1020a663f6887d1a",
                "alias": "",
                "status": 0,
                "qr_code": "",
                "address": "",
                "open_userid": "",
                "main_department": "",
                "updated_at": null,
                "created_at": null,
                "deleted_at": null,
                "right_type": 0,
                "disabled": 0,
                "userid": "",
                "avatar_mediaid": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc1020a663f6887d1a"
            }
        }
    ]
}

错误时返回:

{
  "result": 0,
  "msg": "",
  "data": []
}

data参数说明:模块分组

参数名 类型 说明
task_id int 任务编号
created_at string 变更时间
operate_name string 变更类型名称
operate_type string 变更类型
has_one_operator obj 变更操作员对象
before_content string 变更前内容
after_content string 变更后内容

has_one_operator参数说明:

参数名 类型 说明
id int 员工ID
name string 员工名称
avatar string 员工头像

备注:

  • 更多返回错误代码请看首页的错误代码描述