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.
26 lines
424 B
26 lines
424 B
import request from '@/utils/request';
|
|
|
|
export function index (params) {
|
|
return request({
|
|
url: "/api/backend/department",
|
|
method: "get",
|
|
params
|
|
})
|
|
}
|
|
|
|
export function save (data) {
|
|
return request({
|
|
url: "/api/backend/department/save",
|
|
method: "post",
|
|
data
|
|
})
|
|
}
|
|
|
|
export function destroy (data) {
|
|
return request({
|
|
url: "/api/backend/department/delete",
|
|
method: "post",
|
|
data
|
|
})
|
|
}
|