| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | 
							- import request from '@/utils/request'
 
- // 查询视频通道列表
 
- export function listDc(query) {
 
-     return request({
 
-         url: '/biz/dc/list',
 
-         method: 'get',
 
-         params: query
 
-     })
 
- }
 
- // 查询视频通道详细
 
- export function getDc(channelId) {
 
-     return request({
 
-         url: '/biz/dc/' + channelId,
 
-         method: 'get'
 
-     })
 
- }
 
- // 新增视频通道
 
- export function addDc(data) {
 
-     return request({
 
-         url: '/biz/dc',
 
-         method: 'post',
 
-         data: data
 
-     })
 
- }
 
- // 修改视频通道
 
- export function updateDc(data) {
 
-     return request({
 
-         url: '/biz/dc',
 
-         method: 'put',
 
-         data: data
 
-     })
 
- }
 
- // 删除视频通道
 
- export function delDc(channelId) {
 
-     return request({
 
-         url: '/biz/dc/' + channelId,
 
-         method: 'delete'
 
-     })
 
- }
 
 
  |