简要描述:
访问权限
接口URL:
http://api.zmengzhu.com/business/v1/supervise/list |
请求方式:
返回结果格式:
参数:
参数名 |
是否必须 |
类型 |
默认 |
说明 |
ticket_id |
是 |
int |
- |
活动ID |
type |
否 |
int |
1 |
有效状态 1有效 0无效 |
page |
否 |
int |
1 |
开始位置 |
limit |
否 |
int |
10 |
每次获取的数量,最大100 |
返回示例:
响应成功JSON示例:
{
"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 |
成功为200 |
msg |
成功返回ok |
total |
总数 |
check_status |
审核开关0未开启 1已开启 |
user_id |
盟主id |
account_id |
用户id |
user_name |
用户昵称 |
avatar |
头像 |
room |
活动ID |
role |
角色类型 |
event |
消息类型 |
data |
消息内容 |
time |
消息时间 |
app |
拼接字段 |
to |
at |
channel_uid |
频道主id |
is_supervise |
0无需审核 1已审核通过 |
status |
审核状态 |
错误时返回:
{
"code": 20001,
"msg": "签名校验失败",
"data": {}
}