import { post, get } from '@/utils/request'

// 视频直播用户占比（新老）(直播数据大屏)
export const userShare = (params) => get('/admin/video/live/user-age', params)

// 视频直播用户观众来源占比(直播数据大屏)
export const userChannel = (params) => get('/admin/video/live/user-channel', params)

// 带货榜单(直播数据大屏)
export const productSale = (params) => get('/admin/video/live/product-sale', params)

// 视频直播数据概况（已对接订单）(直播数据大屏)
export const dataOverview = (params) => get('/admin/video/live/data-overview', params)

// 视频直播实时趋势-在线人数
export const nowTrend = (params) => get('/admin/video/live/nowTrend', params);

// 成交金额曲线(直播数据大屏)
export const productSaleLine = (params) => get('/admin/video/live/product-sale-line', params);

// 用户省份分布(直播数据大屏)
export const userProvince = (params) => get('/admin/video/live/user-province', params);
//合并返回(直播数据大屏)
export const liveScreen = (params) => get('/admin/video/live/screen', params);
