|
@@ -7,6 +7,7 @@ const LookuserSchema = {
|
|
roomname: { type: String, required: false, maxLength: 200 }, // 房间号
|
|
roomname: { type: String, required: false, maxLength: 200 }, // 房间号
|
|
userid: { type: String, required: false, maxLength: 200 }, // 观看用户id
|
|
userid: { type: String, required: false, maxLength: 200 }, // 观看用户id
|
|
username: { type: String, required: false, maxLength: 200 }, // 观看用户名称
|
|
username: { type: String, required: false, maxLength: 200 }, // 观看用户名称
|
|
|
|
+ phone: { type: String, required: false, maxLength: 200 }, // 手机号
|
|
};
|
|
};
|
|
|
|
|
|
const schema = new Schema(LookuserSchema, { toJSON: { virtuals: true } });
|
|
const schema = new Schema(LookuserSchema, { toJSON: { virtuals: true } });
|