# 消息来源列表

该接口用于获取消息来源

# 关联文档:

请求方式:POST

请求地址:https://$basehost/gateway/qopen/GetMsgSourceList

body参数

{
    "offset": 0,
    "limit": 10
}
字段 类型 必填 说明
offset int 偏移量
limit int 每页数量

返回值:

{
    "data": {
        "has_more": false,
        "list": [
            {
                "id": 2,
                "type": 1,
                "name": "工作台"
            }
        ]
    },
    "errcode": 0,
    "errmsg": "",
    "hint": ""
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
data json json返回值
   has_more bool 是否有下一页
   list array 返回数组
     id int 记录id
     type int 来源类型
     name string 来源名
hint string 请求日志ID
最后更新时间: 2025/7/30 10:19:32