|
@@ -6,12 +6,12 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
const video = new Schema({
|
|
|
video_title: { type: String, maxLength: 500 }, // 标题
|
|
|
video_date: { type: String, maxLength: 500 }, // 时间
|
|
|
- video_url: { type: String, required: true, maxLength: 500 }, // 视频路径
|
|
|
+ video_url: { type: String, maxLength: 500 }, // 视频路径
|
|
|
});
|
|
|
const user = new Schema({
|
|
|
user_title: { type: String, maxLength: 500 }, // 用户名
|
|
|
user_phone: { type: String, maxLength: 500 }, // 账号
|
|
|
- user_password: { type: String, required: true, maxLength: 500 }, // 密码
|
|
|
+ user_password: { type: String, maxLength: 500 }, // 密码
|
|
|
});
|
|
|
// 培训问诊表
|
|
|
const trainlive = {
|