| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- import request from '@/utils/request'
- export function recentLive() {
- return request({
- url: '/liveData/liveData/recentLive',
- method: 'get',
- })
- }
- export function liveTop(query) {
- return request({
- url: '/liveData/liveData/getLiveTop',
- method: 'get',
- params: query
- })
- }
- export function getTrendData(queryParams) {
- return request({
- url: '/liveData/liveData/getTrendData',
- method: 'post',
- data: queryParams
- })
- }
- export function columns() {
- return request({
- url: '/liveData/liveData/columns',
- method: 'get',
- })
- }
- export function updateColumns(columns) {
- return request({
- url: '/liveData/liveData/updateColumns',
- method: 'post',
- data:columns,
- })
- }
- export function queryStudentData(query) {
- return request({
- url: '/live/studentData/queryStudentData',
- method: 'post',
- data:query,
- })
- }
- export function dashboardData(liveId) {
- return request({
- url: '/liveData/liveData/dashboardData' + '?liveId=' +liveId,
- method: 'get'
- })
- }
- export function listLiveData(data) {
- return request({
- url: '/liveData/liveData/listLiveData',
- method: 'post',
- data:data,
- })
- }
- export function getLiveDataDetailBySql(liveId) {
- return request({
- url: '/liveData/liveData/getLiveDataDetailBySql?liveId=' + liveId,
- method: 'get'
- })
- }
- export function getLiveUserDetailListBySql(liveId, pageNum, pageSize) {
- return request({
- url: '/liveData/liveData/getLiveUserDetailListBySql?liveId=' + liveId + '&pageNum=' + (pageNum || 1) + '&pageSize=' + (pageSize || 100),
- method: 'get'
- })
- }
- export function getLiveDataDetailByServer(liveId) {
- return request({
- url: '/liveData/liveData/getLiveDataDetailByServer?liveId=' + liveId,
- method: 'get'
- })
- }
- export function getLiveUserDetailListByServer(liveId) {
- return request({
- url: '/liveData/liveData/getLiveUserDetailListByServer?liveId=' + liveId,
- method: 'get'
- })
- }
- // 导出直播间用户详情数据
- export function exportLiveUserDetail(liveId) {
- return request({
- url: '/liveData/liveData/exportLiveUserDetail?liveId=' + liveId,
- method: 'get'
- })
- }
- export function exportLiveData(query) {
- return request({
- url: '/liveData/liveData/export',
- method: 'get',
- params: query
- })
- }
- // 分公司直播数据统计列表
- export function listLiveDataCompany(data) {
- return request({
- url: '/liveData/liveData/listLiveDataCompany',
- method: 'post',
- data: data
- })
- }
- // 导出分公司直播数据统计
- export function exportLiveDataCompany(data) {
- return request({
- url: '/liveData/liveData/exportLiveDataCompany',
- method: 'post',
- data: data
- })
- }
- // 直播数据统计-数据概览(多直播间聚合指标)
- export function getLiveStatisticsOverview(liveIds) {
- return request({
- url: '/liveData/liveData/getLiveStatisticsOverview',
- method: 'post',
- data: liveIds || []
- })
- }
- // 直播趋势-进入人数折线图
- export function getLiveEntryTrend(liveIds) {
- return request({
- url: '/liveData/liveData/getLiveEntryTrend',
- method: 'post',
- data: liveIds || []
- })
- }
- // 直播间学员列表(分页)
- export function listLiveRoomStudents(data) {
- return request({
- url: '/liveData/liveData/listLiveRoomStudents',
- method: 'post',
- data: data || {}
- })
- }
- // 商品对比统计
- export function listProductCompareStats(data) {
- return request({
- url: '/liveData/liveData/listProductCompareStats',
- method: 'post',
- data: data || {}
- })
- }
- // 邀课对比-分享人选项列表
- export function listInviteSalesOptions(liveIds) {
- return request({
- url: '/liveData/liveData/listInviteSalesOptions',
- method: 'post',
- data: liveIds || []
- })
- }
- // 邀课对比统计
- export function listInviteCompareStats(data) {
- return request({
- url: '/liveData/liveData/listInviteCompareStats',
- method: 'post',
- data: data || {}
- })
- }
|