角色列表接口完成

This commit is contained in:
2026-08-18 15:54:56 +08:00
parent bf355b3fbf
commit b8571da035
4 changed files with 37 additions and 20 deletions
+4 -2
View File
@@ -3,7 +3,7 @@ import { request } from '../request';
/**
* 登录
*
* @param userName User name
* @param username User name
* @param password Password
*/
export function fetchLogin(username: string, password: string) {
@@ -17,7 +17,9 @@ export function fetchLogin(username: string, password: string) {
});
}
/** Get user info */
/** 获取用户信息
*
*/
export function fetchGetUserInfo() {
return request<Api.Auth.UserInfo>({ url: '/api/auth/me' });
}