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 } });