|
@@ -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) {
|
|
export function channelDetail(data) {
|
|
return request({
|
|
return request({
|
|
@@ -72,27 +63,11 @@ export function edit(data) {
|
|
}
|
|
}
|
|
|
|
|
|
// 频道内容列表
|
|
// 频道内容列表
|
|
-export function channelList(data) {
|
|
|
|
|
|
+export function list(query) {
|
|
return request({
|
|
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',
|
|
method: 'post',
|
|
data
|
|
data
|
|
})
|
|
})
|
|
-}
|
|
|
|
|
|
+}
|