Преглед на файлове

运营管理 定制频道 接口文件

DESKTOP-O04BTUJ\muzen преди 2 години
родител
ревизия
74bbce87d4
променени са 1 файла, в които са добавени 5 реда и са изтрити 30 реда
  1. 5 30
      src/api/operation/channel.js

+ 5 - 30
src/api/operation/channel.js

@@ -44,15 +44,6 @@ export function create(data) {
   })
 }
 
-// 频道属性
-export function channelTemplate(data) {
-  return request({
-    url: `/device/channelTemplate/searchClassify`,
-    method: 'post',
-    data
-  })
-}
-
 // 频道详情
 export function channelDetail(data) {
   return request({
@@ -72,27 +63,11 @@ export function edit(data) {
 }
 
 // 频道内容列表
-export function channelList(data) {
+export function list(query) {
   return request({
-    url: `/device/channelTemplate/addtemplate`,
-    method: 'post',
-    data
-  })
-}
-
-// 删除频道内容
-export function remove(id) {
-  return request({
-    url: `/device/channelTemplate/${id}`,
-    method: 'delete'
-  })
-}
-
-// 已选中的频道内容
-export function queryList(id) {
-  return request({
-    url: `/device/channelTemplate/queryList/${id}`,
-    method: 'get'
+    url: `/device/channelAudio/querypage`,
+    method: 'get',
+    params: query
   })
 }
 
@@ -119,4 +94,4 @@ export function change(data) {
     method: 'post',
     data
   })
-}
+}