feat: modeldata接口。fix: 部分权限校验bug

This commit is contained in:
archer
2023-03-28 17:56:31 +08:00
parent c3ccbcb7f6
commit 586607a9ce
13 changed files with 260 additions and 7 deletions

View File

@@ -51,6 +51,14 @@ export interface ModelPopulate extends ModelSchema {
userId: UserModelSchema;
}
export interface ModelDataSchema {
_id: string;
q: string;
a: string;
status: 0 | 1 | 2;
createTime: Date;
}
export interface TrainingSchema {
_id: string;
serviceName: ServiceName;