Bläddra i källkod

分享12频道接口文件

DESKTOP-O04BTUJ\muzen 3 år sedan
förälder
incheckning
afb19dd0e9
1 ändrade filer med 73 tillägg och 0 borttagningar
  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
+  })
+}