feat(miniapp): 拍照巡检页(拍照上传 + AI 结果 + 历史记录,#8)
This commit is contained in:
@@ -209,6 +209,26 @@ export interface KnowledgeArticle {
|
||||
sortOrder?: number;
|
||||
}
|
||||
|
||||
export interface AIDetection {
|
||||
bbox: { x: number; y: number; w: number; h: number };
|
||||
class: string;
|
||||
confidence: number;
|
||||
}
|
||||
|
||||
export interface InspectionRecord {
|
||||
id: string;
|
||||
userId?: string;
|
||||
roomId?: string;
|
||||
imageUrl?: string;
|
||||
detections?: AIDetection[];
|
||||
riskScore?: number;
|
||||
riskLevel?: string;
|
||||
aiStatus: string;
|
||||
idempotencyKey?: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface ApiResponse<T> {
|
||||
data: T;
|
||||
message?: string;
|
||||
|
||||
Reference in New Issue
Block a user