简要描述:

  • 用户登录接口

请求域名:

  • http://xx.com

请求URL:

POST/business/{公众号id}/plugin/SopTask/getFriendsJobList

参数:

参数名 是否必须 类型 说明
task_id int 任务id
search.date string 日期

返回示例:

正确时返回:

 {
    "result": 1,
    "msg": "ok",
    "data": {
        "record_list": {
            "current_page": 1,
            "data": [
                {
                    "moment_total": 2,
                    "moment_finish_count": 1,
                    "moment_wait_count": 1,
                    "created_at": "2024-05-23 17:40:01",
                    "content": {
                        "text": {
                            "content": "deserunt eiusmod sit aliquip eu"
                        },
                        "attachments": [
                            {
                                "msgtype": "image",
                                "image": {
                                    "media_id": "WWME_DesSDgAApfMBaX5dHp9-ahTxvCWZgQ"
                                }
                            }
                        ],
                        "visible_range": {
                            "sender_list": {
                                "user_list": [
                                    "Happy",
                                    "alncubus"
                                ],
                                "department_list": []
                            },
                            "external_contact_list": {
                                "tag_list": []
                            }
                        }
                    },
                    "id": 1
                },
                {
                    "moment_total": 4,
                    "moment_finish_count": 3,
                    "moment_wait_count": 1,
                    "created_at": "2024-05-23 17:40:01",
                    "content": {
                        "text": {
                            "content": "deserunt eiusmod sit aliquip eu"
                        },
                        "attachments": [
                            {
                                "msgtype": "image",
                                "image": {
                                    "media_id": "WWME_DesSDgAApfMBaX5dHp9-ahTxvCWZgQ"
                                }
                            }
                        ],
                        "visible_range": {
                            "sender_list": {
                                "user_list": [
                                    "Happy",
                                    "alncubus"
                                ],
                                "department_list": []
                            },
                            "external_contact_list": {
                                "tag_list": []
                            }
                        }
                    },
                    "id": 2
                }
            ],
            "first_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobList?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobList?page=1",
            "next_page_url": null,
            "path": "http://yzhonshop.com/business/1/plugin/SopTask/getFriendsJobList",
            "per_page": 15,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        },
        "wait_count": 2,
        "finish_count": 4,
        "job_total": 6
    }
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
wait_count int 未完成数量
finish_count int 完成数量
job_total int 任务总数

record_list返回参数说明:

参数名 类型 说明
moment_wait_count int 未完成数量
moment_finish_count int 完成数量
moment_total int 任务总数
created_at string 推送时间
content array 内容