Explorar el Código

头像改成数组格式

guhongwei hace 3 años
padre
commit
f0ece40559
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/model/user/expert.js

+ 1 - 1
app/model/user/expert.js

@@ -26,7 +26,7 @@ const expert = {
   major: { type: String, required: false, maxLength: 200 }, // 所学专业
   company: { type: String, required: false, maxLength: 500 }, // 单位名称
   zwzc: { type: String, required: false, maxLength: 500 }, // 职务职称
-  img_path: { type: String, required: false }, // 头像图片
+  img_path: { type: Array, required: false }, // 头像图片
   expertise: { type: String, required: false, maxLength: 500 }, // 擅长领域
   workexperience: { type: String, required: false, maxLength: 500 }, // 工作经历
   scientific: { type: String, required: false, maxLength: 500 }, // 科研综述