From 0faa1aecad51ce12bf495275bd1d3bb236e27ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Wed, 10 Apr 2024 00:11:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/ChatMessageService.cs | 2 +- Yi.Bbs.Vue3/src/utils/icon.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/ChatMessageService.cs b/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/ChatMessageService.cs index 7bc72004..530b670f 100644 --- a/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/ChatMessageService.cs +++ b/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/ChatMessageService.cs @@ -34,7 +34,7 @@ namespace Yi.Framework.ChatHub.Application.Services var userRoleMenuQuery = new UserRoleMenuQueryEventArgs(CurrentUser.Id!.Value, input.UserId); //调用用户领域事件,获取用户信息,第一个发送者用户信息,第二个为接收者用户信息 - await _localEventBus.PublishAsync(userRoleMenuQuery); + await _localEventBus.PublishAsync(userRoleMenuQuery, false); mesageContext.SetUserInfo(userRoleMenuQuery.Result.First(), userRoleMenuQuery.Result.Last()); diff --git a/Yi.Bbs.Vue3/src/utils/icon.js b/Yi.Bbs.Vue3/src/utils/icon.js index bcd024bf..3a1fcaff 100644 --- a/Yi.Bbs.Vue3/src/utils/icon.js +++ b/Yi.Bbs.Vue3/src/utils/icon.js @@ -1,6 +1,6 @@ export const getUrl = (fileId) => { if (fileId == null || fileId == undefined) { - return "@/assets/chat_images/friendicon.jpg" + return "/acquiesce.png" } else { return getEnvUrl(fileId)