Przeglądaj źródła

头像改成数组格式

guhongwei 3 lat temu
rodzic
commit
f0ece40559
1 zmienionych plików z 1 dodań i 1 usunięć
  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 }, // 科研综述