feat(work): 新增获取观看、未观看直播统计 V2 版接口

This commit is contained in:
Fu Diwei
2022-06-23 11:37:33 +08:00
parent fea1c8061e
commit 2580119416
9 changed files with 412 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
"livingid": "livingid1",
"next_cursor": "NEXT_CURSOR"
}

View File

@@ -0,0 +1,30 @@
{
"errcode": 0,
"errmsg": "ok",
"has_more": 1,
"next_cursor": "NEXT_CURSOR",
"stat_info": {
"students": [
{
"student_userid": "zhansan_child",
"partyids": [10, 11]
},
{
"student_userid": "lisi_child",
"partyids": [5]
}
],
"parents": [
{
"parent_userid": "zhangsan",
"student_userid": "zhansan_child",
"partyids": [10, 11]
},
{
"parent_userid": "lisi",
"student_userid": "lisi_child",
"partyids": [5]
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"livingid": "livingid1",
"next_cursor": "NEXT_CURSOR"
}

View File

@@ -0,0 +1,62 @@
{
"errcode": 0,
"errmsg": "ok",
"has_more": 1,
"next_cursor": "NEXT_CURSOR",
"stat_info": {
"students": [
{
"student_userid": "zhansan_child",
"partyids": [10, 11],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"student_userid": "lisi_child",
"partyids": [10, 11],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
],
"parents": [
{
"parent_userid": "zhangsan",
"student_userid": "zhansan_child",
"partyids": [10, 11],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"parent_userid": "lisi",
"student_userid": "lisi_child",
"partyids": [10, 11],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
],
"visitors": [
{
"nickname": "wx_nickname1",
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"nickname": "wx_nickname2",
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
]
}
}