refactor: 重构用户模型

This commit is contained in:
2026-09-23 12:10:43 +08:00
parent b0ad57e442
commit f40788db9a
44 changed files with 212 additions and 163 deletions
+2 -6
View File
@@ -22,9 +22,9 @@ interface UserInfo extends Omit<BasicUserInfo, 'userId' | 'username'> {
*/
positionId?: number;
/**
* 登录账号
* 登录用户名(可空)
*/
loginCode: string;
username?: string | null;
/**
* 手机号码
*/
@@ -101,10 +101,6 @@ interface UserInfo extends Omit<BasicUserInfo, 'userId' | 'username'> {
* 用户id(兼容性字段)
*/
userId?: string;
/**
* 用户名(兼容性字段)
*/
username?: string;
}
export type { UserInfo };