|
@@ -12,8 +12,8 @@ const analysis = {
|
|
|
contact: { type: String, required: false }, // 技术联系人
|
|
|
phone: { type: String, required: false }, // 联系电话
|
|
|
email: { type: String, required: false }, // 电子邮箱
|
|
|
- questions: { type: String, required: false }, // 其他内容合集
|
|
|
- file: { type: String, required: false }, // 报告文件
|
|
|
+ questions: { type: Array, required: false }, // 其他内容合集
|
|
|
+ file: { type: Array, required: false }, // 报告文件
|
|
|
status: { type: String, required: false }, // 状态:0:待审中,1:审核通过,待发报告文件,-1:审核未通过,2:文件已发,请及时下载
|
|
|
};
|
|
|
const schema = new Schema(analysis, { toJSON: { virtuals: true } });
|