From 19b0fce29e7f2b70aa9cb395ec8dc320be30fd08 Mon Sep 17 00:00:00 2001 From: "xie.bx" Date: Sat, 18 Nov 2023 21:52:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A2=AB@=E5=90=8E=E7=82=B9?= =?UTF-8?q?=E4=B8=8D=E6=8E=89=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-platform/src/main/resources/application.yml | 7 +++++-- im-ui/src/store/chatStore.js | 2 ++ im-uniapp/store/chatStore.js | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/im-platform/src/main/resources/application.yml b/im-platform/src/main/resources/application.yml index 59192d6..41e22c6 100644 --- a/im-platform/src/main/resources/application.yml +++ b/im-platform/src/main/resources/application.yml @@ -26,7 +26,7 @@ mybatis-plus: configuration: # 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射 map-underscore-to-camel-case: false - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # mapper mapper-locations: # *.xml的具体路径 @@ -50,4 +50,7 @@ jwt: secret: MIIBIjANBgkq refreshToken: expireIn: 604800 #7天 - secret: IKDiqVmn0VFU \ No newline at end of file + secret: IKDiqVmn0VFU + +logging: + config: classpath:logback-prod.xml diff --git a/im-ui/src/store/chatStore.js b/im-ui/src/store/chatStore.js index d417bc1..4bb1fd0 100644 --- a/im-ui/src/store/chatStore.js +++ b/im-ui/src/store/chatStore.js @@ -50,6 +50,8 @@ export default { lastSendTime: new Date().getTime(), unreadCount: 0, messages: [], + atMe: false, + atAll: false }; state.chats.unshift(chat); } diff --git a/im-uniapp/store/chatStore.js b/im-uniapp/store/chatStore.js index 8d1adcc..2149da2 100644 --- a/im-uniapp/store/chatStore.js +++ b/im-uniapp/store/chatStore.js @@ -51,6 +51,8 @@ export default { lastSendTime: new Date().getTime(), unreadCount: 0, messages: [], + atMe: false, + atAll: false }; state.chats.unshift(chat); }