bugfix
This commit is contained in:
@@ -45,6 +45,9 @@ export interface OutfitItem {
|
||||
source: number // 1 用户创建 2 AI 推荐
|
||||
is_public: number // 1 私有 2 公开
|
||||
audit_status: number // 1 待审核 2 通过 3 不通过
|
||||
// 穿搭状态:1 正常 2 封禁 3 待用户保存(AI 推荐生成后未保存)
|
||||
// 列表 / 详情 / 创建响应都会返回;超过 7 天未保存的 status=3 会被后端定时清理
|
||||
status: number
|
||||
items: Array<{ clothes_uuid: string; processed_image: string }>
|
||||
}
|
||||
|
||||
@@ -206,6 +209,20 @@ export interface AiRecommendResult {
|
||||
outfit_item: Array<{ clothes_uuid: string }>
|
||||
}
|
||||
|
||||
// AI 推荐为异步任务:提交只拿 task_id,再按 2 秒轮询状态
|
||||
export interface AiRecommendSubmitResult {
|
||||
task_id: string
|
||||
status: number // 1=生成中
|
||||
}
|
||||
|
||||
export interface AiRecommendTaskStatus {
|
||||
task_id: string
|
||||
status: number // 1=生成中 2=成功 3=失败
|
||||
result?: AiRecommendResult
|
||||
error_code?: number
|
||||
error_msg?: string
|
||||
}
|
||||
|
||||
export interface LoginResult {
|
||||
access_token: string
|
||||
refresh_token: string
|
||||
|
||||
Reference in New Issue
Block a user