Commit d2fee209 authored by lizhichao's avatar lizhichao

修正setting.js

parent eac1e0d8
......@@ -60,55 +60,3 @@ export function refreshSystemSetting(query) {
params: query
})
}
// 查询setting列表
export function listSetting(query) {
return request({
url: '/system/inspection/list',
method: 'get',
params: query
})
}
// 查询setting详细
export function getSetting(nfcId) {
return request({
url: '/system/inspection/' + nfcId,
method: 'get'
})
}
// 新增setting
export function addSetting(data) {
return request({
url: '/system/inspection',
method: 'post',
data: data
})
}
// 修改setting
export function updateSetting(data) {
return request({
url: '/system/inspection',
method: 'put',
data: data
})
}
// 删除setting
export function delSetting(nfcId) {
return request({
url: '/system/inspection/' + nfcId,
method: 'delete'
})
}
// 导出setting
export function exportSetting(query) {
return request({
url: '/system/inspection/export',
method: 'get',
params: query
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment