角色接口 接入

This commit is contained in:
mmc
2026-04-28 15:16:50 +08:00
parent 2a2d40d772
commit b540f842ab
4 changed files with 145 additions and 72 deletions

12
src/api/role/index.ts Normal file
View File

@@ -0,0 +1,12 @@
import request from '../request';
export function addRole(data) {
return request({
url: '/system/role',
method: 'post',
data
});
}