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.
 
 
 
 
 

51 lines
874 B

import request from '@/utils/request'
// 查询平台模版库列表
export function listLib(query) {
return request({
url: '/system/lib/list',
method: 'get',
params: {
...query,
pageNum: 1,
pageSize: 100
}
})
}
// 查询平台模版库详细
export function getLib(id) {
return request({
url: '/system/lib/' + id,
method: 'get'
})
}
// 新增平台模版库
export function addLib(data) {
return request({
url: '/system/lib/add',
method: 'post',
data: data,
headers: {
'Content-Type': 'multipart/form-data'
}
})
}
// 修改平台模版库
export function updateLib(data) {
return request({
url: '/system/lib',
method: 'put',
data: data
})
}
// 删除平台模版库
export function delLib(id) {
return request({
url: '/system/lib/' + id,
method: 'delete'
})
}