fix: file sprcial char

This commit is contained in:
archer
2023-08-26 21:17:57 +08:00
parent 4973d7ad9c
commit 0d26b1d48e
8 changed files with 41 additions and 29 deletions

View File

@@ -37,6 +37,12 @@ const ChatItemSchema = new Schema({
type: String,
default: ''
},
userFeedback: {
type: String
},
adminFeedback: {
type: String
},
[TaskResponseKeyEnum.responseData]: {
type: [
{
@@ -65,6 +71,7 @@ try {
ChatItemSchema.index({ userId: 1 });
ChatItemSchema.index({ appId: 1 });
ChatItemSchema.index({ chatId: 1 });
ChatItemSchema.index({ userFeedback: 1 });
} catch (error) {
console.log(error);
}