guhongwei 4 лет назад
Родитель
Сommit
6a01e2ac46
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/model/dock.js

+ 2 - 1
app/model/dock.js

@@ -6,12 +6,13 @@ const apply = new Schema({
   user_id: { type: String, required: true, maxLength: 200 }, // 用户id
   user_name: { type: String, required: true, maxLength: 200 }, // 用户名称
   buyer: { type: String, required: true, maxLength: 1 }, // 买家/卖家 0/1
-  goodsList: [ Object ],
+  goodsList: [Object],
   contact: { type: String, required: true, maxLength: 200 }, // 联系人
   contact_tel: { type: String, required: true, maxLength: 200 }, // 联系人电话
   email: { type: String, maxLength: 200 }, // 邮箱
   company: { type: String, maxLength: 200 }, // 单位名称
   apply_time: { type: String, maxLength: 200 }, // 申请时间
+  role: { type: String, maxLength: 200 }, // 申请人类型
   status: { type: String, default: 0, maxLength: 1 }, // 申请状态 (0未审核;1已通过;2已拒绝)
 });
 apply.index({ id: 1 });