guhongwei 3 gadi atpakaļ
vecāks
revīzija
0d6c8f95d0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 } });