mirror of
https://github.com/chillzhuang/Saber.git
synced 2025-04-04 20:17:15 +08:00
39 lines
642 B
JavaScript
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
|
|
})
|
|
}
|