lrf402788946 hace 4 años
padre
commit
07ad1e59ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/model/trainlive.js

+ 1 - 1
app/model/trainlive.js

@@ -27,7 +27,7 @@ const trainlive = {
   video_data: { type: [ video ] }, // 视频
   user_data: { type: [ user ] }, // 参加用户
   create_date: { type: String }, // 开始时间
-
+  type: { type: String, default: 'train' }, // 类型
   remark: { type: String, maxLength: 200 },
   create_time: { type: String, default: moment().format('YYYY-MM-DD HH:mm:ss') },
 };