feat: 新增用户状态检查和 api key 准备功能

This commit is contained in:
2026-04-25 16:27:55 +08:00
parent 7d1cc2da1a
commit 5cb72f8579
7 changed files with 252 additions and 4 deletions
+10
View File
@@ -62,6 +62,16 @@ export type IUserLoginData = IUserBasicData;
*/
export type IUserMeData = IUserBasicData;
/**
* 登录后准备 AIArtStudio Key 的结果。
*/
export interface IUserReadyData {
/** 是否已经确认当前账号具备可用的 AIArtStudio Key */
ready: boolean;
/** 本次检查是否创建了新的 AIArtStudio Key */
created: boolean;
}
/**
* 登出成功时上游接口返回的数据类型。
* NewAPI 登出接口通常无业务数据返回,此处用 null 表示。