소스 검색

频道管理 官方推荐

wuhao 3 년 전
부모
커밋
41a8b86392
1개의 변경된 파일27개의 추가작업 그리고 0개의 파일을 삭제
  1. 27 0
      src/api/channel/official.js

+ 27 - 0
src/api/channel/official.js

@@ -0,0 +1,27 @@
+import request from '@/utils/request'
+
+// 查询12个频道
+export function getChannelPage() {
+    return request({
+        url: `/device/channel/page`,
+        method: 'get'
+    })
+}
+
+// 编辑12频道信息
+export function getChannelEdit(data) {
+    return request({
+        url: `/device/channel/edit`,
+        method: 'post',
+        data: data
+    })
+}
+
+// 频道内容列表
+export function getChannelAudioPage(query) {
+    return request({
+        url: `/device/channel/audio/page`,
+        method: 'get',
+        params: query
+    })
+}