feat:企业用户弹窗逻辑

- 通过getuserinfo获取企业参数判断是否是企业用户
This commit is contained in:
Roe-xin
2026-03-02 14:02:19 +08:00
parent 5f88c7ceac
commit 5fc0fd2a95
2 changed files with 20 additions and 13 deletions

View File

@ -407,6 +407,10 @@ export interface UserInfoResponse {
isDefaultModifyPwd: boolean;
/** 密码是否过期 */
isPasswordExpired: boolean;
/** 是否为插件试用用户 */
isPluginTrial?: boolean;
/** 企业试用到期时间(毫秒时间戳) */
enterpriseTrialExpires?: number;
/** 用户信息 */
user: {
userId: number;
@ -419,6 +423,7 @@ export interface UserInfoResponse {
status?: string;
createTime?: string;
loginDate?: string;
remark?: string;
[key: string]: any;
};
}