mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 19:49:19 +08:00
refactor: 重构用户模型
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user