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