From 770531b9645ed712be426346148387f165d39773 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期一, 23 十二月 2024 17:25:45 +0800 Subject: [PATCH] 添加日志功能,更新SignalR接口,优化前端日志展示逻辑 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_SignalR/Service/SignalrNoticeService.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_SignalR/Service/SignalrNoticeService.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_SignalR/Service/SignalrNoticeService.cs index 3bbb94f..071468b 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_SignalR/Service/SignalrNoticeService.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_SignalR/Service/SignalrNoticeService.cs @@ -59,5 +59,12 @@ await GetHubContext().Clients.Users(clientIds).LineData(message); } + /// <inheritdoc/> + public async Task Logs(List<string> clientIds, object message) + { + //鍙戦�佹秷鎭粰鐢ㄦ埛 + await GetHubContext().Clients.Users(clientIds).Logs(message); + } + #endregion MyRegion } \ No newline at end of file -- Gitblit v1.9.3