liveData.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import request from '@/utils/request'
  2. export function recentLive() {
  3. return request({
  4. url: '/liveData/liveData/recentLive',
  5. method: 'get',
  6. })
  7. }
  8. export function dashboardData(liveId) {
  9. return request({
  10. url: '/liveData/liveData/dashboardData' + '?liveId=' +liveId,
  11. method: 'get'
  12. })
  13. }
  14. export function listLiveData(data) {
  15. return request({
  16. url: '/liveData/liveData/listLiveData',
  17. method: 'post',
  18. data:data,
  19. })
  20. }
  21. export function getLiveDataDetailBySql(liveId) {
  22. return request({
  23. url: '/liveData/liveData/getLiveDataDetailBySql?liveId=' + liveId,
  24. method: 'get'
  25. })
  26. }
  27. export function getLiveUserDetailListBySql(liveId) {
  28. return request({
  29. url: '/liveData/liveData/getLiveUserDetailListBySql?liveId=' + liveId,
  30. method: 'get'
  31. })
  32. }
  33. export function getLiveDataDetailByServer(liveId) {
  34. return request({
  35. url: '/liveData/liveData/getLiveDataDetailByServer?liveId=' + liveId,
  36. method: 'get'
  37. })
  38. }
  39. export function getLiveUserDetailListByServer(liveId) {
  40. return request({
  41. url: '/liveData/liveData/getLiveUserDetailListByServer?liveId=' + liveId,
  42. method: 'get'
  43. })
  44. }
  45. // 导出直播间用户详情数据
  46. export function exportLiveUserDetail(liveId) {
  47. return request({
  48. url: '/liveData/liveData/exportLiveUserDetail?liveId=' + liveId,
  49. method: 'get'
  50. })
  51. }