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