소스 검색

接口文件

DESKTOP-O04BTUJ\muzen 3 년 전
부모
커밋
2592917368
2개의 변경된 파일82개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      src/api/guide.js
  2. 73 0
      src/api/share.js

+ 9 - 0
src/api/guide.js

@@ -0,0 +1,9 @@
+import request from "../utils/request"
+
+export function getContent(data) {
+  return request({
+    url: `/device/getGuidePageContent`,
+    method: 'get',
+    data: data
+  })
+}

+ 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
+  })
+}