|
@@ -6,7 +6,7 @@ const { Secret } = require('naf-framework-mongoose/lib/model/schema');
|
|
|
const { ObjectId } = require('mongoose').Types;
|
|
|
// 专利资讯服务聊天表
|
|
|
const patentchat = {
|
|
|
- room_id: { type: ObjectId, required: true }, // 聊天房间id
|
|
|
+ // room_id: { type: ObjectId, required: true }, // 聊天房间id
|
|
|
sender_id: { type: ObjectId, required: true }, // 发送人id
|
|
|
sender_name: { type: String, required: false }, // 发送人名字
|
|
|
receiver_id: { type: ObjectId, required: true }, // 接收人id
|