feat: qa生成

This commit is contained in:
archer
2023-03-24 01:19:38 +08:00
parent 8b72dca533
commit d8290f0809
15 changed files with 321 additions and 121 deletions

View File

@@ -94,3 +94,28 @@ export interface PaySchema {
orderId: string;
status: 'SUCCESS' | 'REFUND' | 'NOTPAY' | 'CLOSED';
}
export interface DataSchema {
_id: string;
userId: string;
name: string;
createTime: string;
}
export interface DataItemSchema {
_id: string;
userId: string;
dataId: string;
times: number;
temperature: number;
text: string;
result: {
q: string;
a: string;
}[];
status: 0 | 1 | 2;
}
export interface DataItemPopulate extends DataItemSchema {
userId: UserModelSchema;
}