Prechádzať zdrojové kódy

头像改成数组格式

guhongwei 3 rokov pred
rodič
commit
f0ece40559
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 }, // 科研综述