|
@@ -80,6 +80,7 @@ const Dock = {
|
|
|
// reason: { type: String, required: false, maxLength: 200 }, // 拒绝理由
|
|
|
// roomname: { type: String, required: false }, // 房间名称
|
|
|
// uid: { type: String, required: false, maxLength: 200 }, // 所属用户
|
|
|
+ openid: { type: String, maxLength: 200 }, // openid
|
|
|
};
|
|
|
const schema = new Schema(Dock, { toJSON: { virtuals: true } });
|
|
|
schema.index({ id: 1 });
|