share.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import request from "../utils/request";
  2. // 12频道
  3. export function channelsList(data){
  4. return request({
  5. url: `/share/getAllChannelList`,
  6. method: 'get',
  7. data
  8. })
  9. }
  10. // 频道分页
  11. export function channelAudioPage(data){
  12. return request({
  13. url: `/share/getChannelAudioPage`,
  14. method: 'get',
  15. data
  16. })
  17. }
  18. // 频道详情
  19. export function channelDetail(data){
  20. return request({
  21. url: `/share/getChannelDetail`,
  22. method: 'get',
  23. data
  24. })
  25. }
  26. // 直播播控
  27. export function boradcastDetail(data){
  28. return request({
  29. url: `/share/getBroadcastDetail`,
  30. method: 'get',
  31. data
  32. })
  33. }
  34. // 直播播控更多列表
  35. export function boradcastList(data){
  36. return request ({
  37. url: `/share/getBroadcastProgramList`,
  38. method: 'get',
  39. data
  40. })
  41. }
  42. // 专辑列表
  43. export function podCastProgramList(data){
  44. return request({
  45. url: `/share/getPodCastProgramList`,
  46. method: 'get',
  47. data
  48. })
  49. }
  50. // 专辑详情
  51. export function podCastDetail(data){
  52. return request({
  53. url: `/share/getPodCastDetail`,
  54. method: 'get',
  55. data
  56. })
  57. }
  58. // 节目、专辑播控
  59. export function podCastProgramDetail(data) {
  60. return request({
  61. url: `/share/getPodCastProgramDetail`,
  62. method: 'get',
  63. data
  64. })
  65. }