简要描述:

  • 用户登录接口

请求域名:

  • http://xx.com

请求URL:

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

参数:

参数名 是否必须 类型 说明
search.keyword string 员工名称
search.department string 部门名称
search.date string 日期

返回示例:

正确时返回:

 {
    "result": 1,
    "msg": "ok",
    "data": {
        "record_list": {
            "current_page": 1,
            "data": [
                {
                    "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": []
                            }
                        }
                    },
                    "comment_count": 0,
                    "id": 2,
                    "like_count": 2,
                    "release_time": "2024-05-23 17:41:50",
                    "staff": {
                        "name": "朱家伟",
                        "avatar": "https://wework.qpic.cn/wwpic/360702_Q2-PIvfYSiWwX6Y_1655323375/0"
                    }
                },
                {
                    "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": []
                            }
                        }
                    },
                    "comment_count": 0,
                    "id": 4,
                    "like_count": 1,
                    "release_time": "2024-05-23 17:41:50",
                    "staff": {
                        "name": "朱家伟",
                        "avatar": "https://wework.qpic.cn/wwpic/360702_Q2-PIvfYSiWwX6Y_1655323375/0"
                    }
                }
            ],
            "first_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getMomentList?page=1",
            "from": 1,
            "last_page": 2,
            "last_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getMomentList?page=2",
            "next_page_url": "http://yzhonshop.com/business/1/plugin/SopTask/getMomentList?page=2",
            "path": "http://yzhonshop.com/business/1/plugin/SopTask/getMomentList",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 4
        },
        "log_total": 4,
        "comment_total": 0,
        "like_total": "5"
    }
}

record_list返回参数说明:

参数名 类型 说明
release_time string 发布时间
comment_total int 评论数
like_count int 点赞数
content array 内容

返回参数说明:

参数名 类型 说明
log_total int 总条数
comment_total int 评论数
like_total int 点赞数

备注:

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