角色列表添加
This commit is contained in:
25
src/api/user-boot/role.ts
Normal file
25
src/api/user-boot/role.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
export function add(data: any) {
|
||||
return createAxios({
|
||||
url: '/user-boot/role/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function update(data: any) {
|
||||
return createAxios({
|
||||
url: '/user-boot/role/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(data: any) {
|
||||
return createAxios({
|
||||
url: '/user-boot/role/delete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user