用户接口调用、登录接口调用

This commit is contained in:
2025-05-05 16:45:29 +08:00
parent ec94aa7ba4
commit fab8454367
7 changed files with 360 additions and 259 deletions

10
src/api/request/role.js Normal file
View File

@@ -0,0 +1,10 @@
import {get, post} from '../request.js'
const prefix = 'role'
export function roleListApi(credentials) {
return get(`${prefix}/list`, credentials)
}
export function roleOptionApi(credentials) {
return get(`${prefix}/option`, credentials)
}