|
@@ -14,7 +14,7 @@ const videos = {
|
|
place_id: { type: String, required: false, zh: '产地' }, //
|
|
place_id: { type: String, required: false, zh: '产地' }, //
|
|
year: { type: String, required: false, zh: '年份' }, //
|
|
year: { type: String, required: false, zh: '年份' }, //
|
|
head_actor: { type: String, required: false, zh: '领衔演员' }, //
|
|
head_actor: { type: String, required: false, zh: '领衔演员' }, //
|
|
- actor: { type: String, required: false, zh: '演员' }, //
|
|
|
|
|
|
+ actor: { type: Array, required: false, zh: '演员' }, //
|
|
img_url: { type: Array, required: false, zh: '图片' }, //
|
|
img_url: { type: Array, required: false, zh: '图片' }, //
|
|
video_url: { type: Array, required: false, zh: '视频路径' }, //
|
|
video_url: { type: Array, required: false, zh: '视频路径' }, //
|
|
view_num: { type: Number, required: false, default: '0', zh: '观看次数' }, //
|
|
view_num: { type: Number, required: false, default: '0', zh: '观看次数' }, //
|
|
@@ -43,3 +43,4 @@ module.exports = app => {
|
|
const { mongoose } = app;
|
|
const { mongoose } = app;
|
|
return mongoose.model('Videos', schema, 'videos');
|
|
return mongoose.model('Videos', schema, 'videos');
|
|
};
|
|
};
|
|
|
|
+
|