feat: 添加部门管理

This commit is contained in:
2025-02-11 04:34:29 +08:00
parent a5f04356ee
commit 74cc990645
97 changed files with 5218 additions and 990 deletions

27
types/user.d.ts vendored Normal file
View File

@@ -0,0 +1,27 @@
/**用户信息类型 */
export type UserInfo = {
/**用户名 */
username: string;
/**用户昵称 */
nickname: string;
/**用户状态 */
status: number;
/**用户性别 */
gender: number;
/**用户头像 */
avatar: string;
/**用户数据库ID */
id: string;
/**用户邮箱 */
email: string;
/**用户手机号 */
phone: string;
/**创建时间 */
create_time: string;
/**修改时间 */
update_time: string;
/** 角色列表 */
roles: string[];
/** 权限列表 */
permissions: string[];
};