Przeglądaj źródła

Merge branch 'master' of http://git.cc-lotus.info/live/service-live

lrf 3 lat temu
rodzic
commit
41e7c4f4f0
1 zmienionych plików z 12 dodań i 12 usunięć
  1. 12 12
      app/model/expert.js

+ 12 - 12
app/model/expert.js

@@ -8,21 +8,21 @@ const { ObjectId } = require('mongoose').Types;
 // 专家表
 const expert = {
   user_id: { type: ObjectId }, // 关联的personal的id
-  education: { type: String, required: false, maxLength: 200 }, // 最高学历
-  school: { type: String, required: false, maxLength: 200 }, // 毕业院校
-  birthDate: { type: String, required: false, maxLength: 200 }, // 出生日期
-  qqwx: { type: String, required: false, maxLength: 200 }, // qq&微信
-  email: { type: String, required: false, maxLength: 200 }, // 邮箱
+  education: { type: String, required: false, maxLength: 500 }, // 最高学历
+  school: { type: String, required: false, maxLength: 500 }, // 毕业院校
+  birthDate: { type: String, required: false, maxLength: 500 }, // 出生日期
+  qqwx: { type: String, required: false, maxLength: 500 }, // qq&微信
+  email: { type: String, required: false, maxLength: 500 }, // 邮箱
   company: { type: String, required: false, maxLength: 500 }, // 单位名称
-  zwzc: { type: String, required: false, maxLength: 200 }, // 职务职称
-  expertise: { type: String, required: false, maxLength: 200 }, // 擅长领域
+  zwzc: { type: String, required: false, maxLength: 500 }, // 职务职称
+  expertise: { type: String, required: false, maxLength: 500 }, // 擅长领域
   img_path: { type: String, required: false }, // 头像图片
   workexperience: { type: String, required: false, maxLength: 500 }, // 工作经历
-  scientific: { type: String, required: false, maxLength: 300 }, // 科研综述
-  undertakingproject: { type: String, required: false, maxLength: 200 }, // 承担项目
-  scienceaward: { type: String, required: false, maxLength: 200 }, // 科技奖励
-  social: { type: String, required: false, maxLength: 200 }, // 社会任职
-  status: { type: String, required: false, default: '0', maxLength: 200 }, // 审核状态,0-注册,1-通过,2-拒绝
+  scientific: { type: String, required: false, maxLength: 500 }, // 科研综述
+  undertakingproject: { type: String, required: false, maxLength: 500 }, // 承担项目
+  scienceaward: { type: String, required: false, maxLength: 500 }, // 科技奖励
+  social: { type: String, required: false, maxLength: 500 }, // 社会任职
+  status: { type: String, required: false, default: '0', maxLength: 500 }, // 审核状态,0-注册,1-通过,2-拒绝
   major: { type: String, required: false, maxLength: 200 }, // 专业
   card: { type: String, required: false, maxLength: 200 }, // 身份证号