Saber/src/api/system/param.js
2024-07-14 23:59:11 +08:00

39 lines
642 B
JavaScript

import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/blade-system/param/list',
method: 'get',
params: {
...params,
current,
size,
}
})
}
export const remove = (ids) => {
return request({
url: '/blade-system/param/remove',
method: 'post',
params: {
ids,
}
})
}
export const add = (row) => {
return request({
url: '/blade-system/param/submit',
method: 'post',
data: row
})
}
export const update = (row) => {
return request({
url: '/blade-system/param/submit',
method: 'post',
data: row
})
}