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 }, // 专业
   major: { type: String, required: false, maxLength: 200 }, // 专业
   card: { type: String, required: false, maxLength: 200 }, // 身份证号
   card: { type: String, required: false, maxLength: 200 }, // 身份证号
   zwzc: { 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') },
   create_time: { type: String, default: moment().format('YYYY-MM-DD HH:mm:ss') },
 };
 };
 const schema = new Schema(personal, { toJSON: { virtuals: true } });
 const schema = new Schema(personal, { toJSON: { virtuals: true } });