liuyu 4 years ago
parent
commit
3e15ad0e3f
2 changed files with 3 additions and 0 deletions
  1. 2 0
      app/controller/.student.js
  2. 1 0
      app/model/student.js

+ 2 - 0
app/controller/.student.js

@@ -35,6 +35,7 @@ module.exports = {
       "diy",
       "isComming",
       "type",
+      "status",
     ],
   },
   destroy: {
@@ -78,6 +79,7 @@ module.exports = {
       "diy",
       "isComming",
       "type",
+      "status",
     ],
   },
   show: {

+ 1 - 0
app/model/student.js

@@ -38,6 +38,7 @@ const StudentSchema = {
   diy: { type: { Object }, required: false, zh: '自定义' }, // 自定义
   isComming: { type: String, default: '0', zh: '签到' }, // 是否签到0否,1是
   type: { type: String, required: false, maxLength: 200, default: '0' }, // 类型:0-正常,1-特殊
+  status: { type: String, required: false, maxLength: 200, default: '1' }, // 0:待确定。1:确定,2:失败
 };