feat: add backend-mock app

This commit is contained in:
vben
2024-06-30 14:09:44 +08:00
parent c58aa26dbf
commit ca1cad0cd3
71 changed files with 3420 additions and 735 deletions

View File

@@ -1,10 +1,3 @@
interface RoleInfo {
/** 角色名 */
roleName: string;
/** 角色值 */
value: string;
}
/** 用户信息 */
interface UserInfo {
/**
@@ -26,7 +19,7 @@ interface UserInfo {
/**
* 用户角色信息
*/
roles: RoleInfo[];
roles: string[];
/**
* accessToken
*/
@@ -41,4 +34,4 @@ interface UserInfo {
username: string;
}
export type { RoleInfo, UserInfo };
export type { UserInfo };