浏览代码

分享12频道接口文件

DESKTOP-O04BTUJ\muzen 3 年之前
父节点
当前提交
afb19dd0e9
共有 1 个文件被更改,包括 73 次插入0 次删除
  1. 73 0
      src/api/share.js

+ 73 - 0
src/api/share.js

@@ -0,0 +1,73 @@
+import request from "../utils/request";
+
+// 12频道
+export function channelsList(data){
+  return request({
+    url: `/share/getAllChannelList`,
+    method: 'get',
+    data
+  })
+}
+
+// 频道分页
+export function channelAudioPage(data){
+  return request({
+    url: `/share/getChannelAudioPage`,
+    method: 'get',
+    data
+  })
+}
+
+// 频道详情
+export function channelDetail(data){
+  return request({
+    url: `/share/getChannelDetail`,
+    method: 'get',
+    data
+  })
+}
+
+// 直播播控
+export function boradcastDetail(data){
+  return request({
+    url: `/share/getBroadcastDetail`,
+    method: 'get',
+    data
+  })
+}
+
+// 直播播控更多列表
+export function boradcastList(data){
+  return request ({
+    url: `/share/getBroadcastProgramList`,
+    method: 'get',
+    data
+  })
+}
+
+// 专辑列表
+export function podCastProgramList(data){
+  return request({
+    url: `/share/getPodCastProgramList`,
+    method: 'get',
+    data
+  })
+}
+
+// 专辑详情
+export function podCastDetail(data){
+  return request({
+    url: `/share/getPodCastDetail`,
+    method: 'get',
+    data
+  })
+}
+
+// 节目、专辑播控
+export function podCastProgramDetail(data) {
+  return request({
+    url: `/share/getPodCastProgramDetail`,
+    method: 'get',
+    data
+  })
+}