guhongwei пре 3 година
родитељ
комит
0d6c8f95d0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/model/personal.js

+ 1 - 1
app/model/personal.js

@@ -24,7 +24,7 @@ const personal = {
   major: { type: String, required: false, maxLength: 200 }, // 专业
   card: { type: String, required: false, maxLength: 200 }, // 身份证号
   zwzc: { type: String, required: false, maxLength: 200 }, // 职务职称
-  role: { type: String, required: false, default: '4' }, // 角色
+  role: { type: String, required: false, default: '3' }, // 角色
   create_time: { type: String, default: moment().format('YYYY-MM-DD HH:mm:ss') },
 };
 const schema = new Schema(personal, { toJSON: { virtuals: true } });