lrf402788946 4 anos atrás
pai
commit
7f26131854
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/model/uploadtask.js

+ 1 - 1
app/model/uploadtask.js

@@ -18,7 +18,7 @@ const UploadtaskSchema = {
   lessonid: { type: String, required: true, maxLength: 200 }, // 课程信息id
   lessonname: { type: String, required: false, maxLength: 200 }, // 课程信息名称
   studentid: { type: String, required: true, maxLength: 200 }, // 学生id
-  picurl: { type: String, required: false, maxLength: 200 }, // 上传图片地址
+  picurl: { type: Array, required: false, maxLength: 200 }, // 上传图片地址
   taskid: { type: String, required: false, maxLength: 200 }, // 作业id
   score: { type: String, required: false, maxLength: 2000 }, // 分数
   answers: { type: [ answerInfo ], select: true }, // 回答详情