소스 검색

Merge branch 'master' of http://git.cc-lotus.info/new_train/service-center

liuyu 4 년 전
부모
커밋
203b419a1b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/model/student.js

+ 1 - 1
app/model/student.js

@@ -28,7 +28,7 @@ const StudentSchema = {
   classid: { type: String, required: false, maxLength: 200 }, // 班级id
   bedroomid: { type: String, required: false, maxLength: 200 }, // 寝室id
   bedroom: { type: String, required: false, maxLength: 200 }, // 寝室号
-  is_fine: { type: String, required: false, maxLength: 200 }, // 是否优秀,0-否,1-是
+  is_fine: { type: String, required: false, maxLength: 200, default: '0' }, // 是否优秀,0-否,1-是,2-无资格
   selfscore: { type: String, required: false, maxLength: 200 }, // 个人分
   score: { type: String, required: false, maxLength: 200 }, // 总分
 }