增加菜单权限接口批量创建功能

This commit is contained in:
好奇宝宝
2024-05-27 16:30:31 +08:00
parent 3720fbe4a0
commit 1dbdc816af
3 changed files with 53 additions and 1 deletions

View File

@@ -39,3 +39,12 @@ export function DelObj(id: DelReq) {
data: { id },
});
}
export function BatchAdd(obj: AddReq) {
return request({
url: apiPrefix + 'batch_create/',
method: 'post',
data: obj,
});
}