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