Browse Source

位置字段

liuyu 5 years ago
parent
commit
02751bc169
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/model/dock.js

+ 1 - 0
app/model/dock.js

@@ -26,6 +26,7 @@ const Dock = {
   is_allowed: { type: String, default: '0', maxLength: 1 }, // 0未审核;1已允许;2已拒绝
   reason: { type: String, required: false, maxLength: 200 }, // 拒绝理由
   user_id: { type: String, required: true, maxLength: 200 }, // 申请用户
+  place: { type: String, required: false }, // 位置
 };
 const schema = new Schema(Dock, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });