You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
986 B
52 lines
986 B
import request from '@/utils/request' |
|
|
|
// 查询【请填写功能名称】列表 |
|
export function listFile(query) { |
|
return request({ |
|
url: '/videos/file/list', |
|
method: 'get', |
|
params: query |
|
}) |
|
} |
|
// 未被选中的列表 |
|
export function getNoAuthFiles(query) { |
|
return request({ |
|
url: '/videos/file/getNoAuthFiles', |
|
method: 'get', |
|
params: query |
|
}) |
|
} |
|
|
|
// 查询【请填写功能名称】详细 |
|
export function getFile(id) { |
|
return request({ |
|
url: '/videos/file/' + id, |
|
method: 'get' |
|
}) |
|
} |
|
|
|
// 新增【请填写功能名称】 |
|
export function addFile(data) { |
|
return request({ |
|
url: '/videos/file', |
|
method: 'post', |
|
data: data |
|
}) |
|
} |
|
|
|
// 修改【请填写功能名称】 |
|
export function updateFile(data) { |
|
return request({ |
|
url: '/videos/file', |
|
method: 'put', |
|
data: data |
|
}) |
|
} |
|
|
|
// 删除【请填写功能名称】 |
|
export function delFile(id) { |
|
return request({ |
|
url: '/videos/file/' + id, |
|
method: 'delete' |
|
}) |
|
}
|
|
|