简要描述:

  • 获取聊天列表内容

访问权限

账号类型 是否有权限
主账号
子账号

请求域名:

  • http://api.zmengzhu.com

请求URL:

GET/business/v1/supervise/list

参数:

参数名 是否必须 类型 默认 说明
ticket_id int - 活动ID
type int 1 有效状态 1有效 0无效
page int 1 开始位置
limit int 10 每次获取的数量,最大100

返回示例:

正确时返回:

{
"code":200,
"msg":"ok",
"data":{
"total":2,
"list":[
		{
	user_id":4129972,//盟主号
	account_id":4129972,
	"user_name":"\uff5c \u20e2???? ????\u20e2 \uff5c",//用户昵称
	"avatar":"http:\/\/s1.t.zmengzhu.com\/upload\/img\/65\/ad\/65ad19486696bcaa5b8af39ea5b653a5.jpg",//头像
	"room":10016317, //活动ID
	"role":"user",//角色类型
	"event":"msg",
	"data":"\u6d77\u86ce\u714e145",
	"time":"2020-09-22 16:04:47",
	"real_room":10016317,
	"app":"smb",
	"to":"",
	"channel_uid":"2327358",
	"is_supervise":0,
	"id":"5456_4129972", //聊天ID
	"status":"\u5f85\u5ba1\u6838" //状态
	},
	{
	"user_id":4129972,
	"account_id":4129972,
	"user_name":"\uff5c \u20e2???? ????\u20e2 \uff5c",
	"avatar":"http:\/\/s1.t.zmengzhu.com\/upload\/img\/65\/ad\/65ad19486696bcaa5b8af39ea5b653a5.jpg",
	"room":10016317,
	"role":"user",
	"event":"msg",
	"data":"\u63d0\u62c9","time":"2020-09-22 16:05:03",
	"real_room":10016317,
	"app":"smb",
	"to":"",
	"channel_uid":"2327358",
	"is_supervise":0,
	"id":"5457_4129972",
	"status":"\u5f85\u5ba1\u6838"}
	],
	"check_status":1
	}
}

错误时返回:

{
    "code": 20001,
    "msg": "签名校验失败",
    "data": {}
}