简要描述:

节点信息列表

接口说明:

请求方式 接口地址 Content-Type
POST {baseURL}/works/user_list application/json

请求参数说明:

参数名 必填 类型 说明

请求参数示例:

返回参数说明:

参数名 必填 类型 说明
errcode int 错误码(0表示成功)
errmsg string 描述信息
datas array 数据集合
id string 成员ID
timeCreate long 创建时间(时间戳)
nickname string 昵称
alias string 别名(预留)
state string 成员状态:online在线, offline离线, error发生错误
certified boolean 企业是否认证
enterName string 企业名称
headImgId string 头像ID
totalCust int 客户总数量
timeLastUserQrcode long 最后获取名片码的时间(时间戳)
timeLastCustList long 最后刷新客户列表的时间(时间戳)
disableFriend boolean 是否禁封好友
disableLoginViolation boolean 是否禁封违规登录
nodeId string 当前的:节点ID
nodeHostAddress string 当前的:节点地址

返回示例:

正确时返回

{
    "errcode": 0,
    "errmsg": "ok",
    "datas": [
        {
            "id": "6Jma5ouf5oiQ5ZGYQQ==",
            "timeCreate": 1684050933663,
            "nickname": "虚拟成员A",
            "alias": null,
            "state": "online",
            "certified": false,
            "enterName": "虚拟企业A",
            "headImgId": "1684076412213",
            "totalCust": 3,
            "timeLastUserQrcode": 1684055202512,
            "timeLastCustList": 1684057529583,
            "disableFriend": null,
            "disableLoginViolation": null,
            "nodeId": "8980f569-e31c-4357-8f37-2ec9ad9fe605",
            "nodeHostAddress": "127.0.0.1"
        },
        ...
    ]
}

错误时返回

{
    "errcode": 100,
    "errmsg": "系统错误"
}

备注:

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2023-09-06 20:49   作者:副官