@@ -7,6 +7,7 @@ module.exports = {
"join_end",
"user_id",
"province",
+ "file_path",
"place",
],
},
@@ -16,7 +17,7 @@ module.exports = {
update: {
params: ["!id"],
- requestBody: ["title", "desc", "start_time", "join_end", "status","province", "place"],
+ requestBody: ["title", "desc", "start_time", "join_end", "status","province", "place", "file_path"],
show: {
parameters: {
@@ -27,6 +27,7 @@ const Dock = {
reason: { type: String, required: false, maxLength: 200 }, // 拒绝理由
user_id: { type: String, required: true, maxLength: 200 }, // 申请用户
province: { type: String, required: false }, // 省
+ file_path: { type: String, required: false }, // 视频路径
place: { type: String, required: false }, // 位置
};
const schema = new Schema(Dock, { toJSON: { virtuals: true } });