更新项目配置,新增设备同步模块,优化WebSocket和Swagger配置,增强SCADA系统的免登录接口,支持数据字典项和登录日志的免登录查询与记录。调整Java编译设置,确保更好的开发体验。

This commit is contained in:
geht
2026-04-28 10:23:58 +08:00
parent bbe46dcf2d
commit 142a0bdaba
1013 changed files with 41858 additions and 28 deletions

View File

@@ -0,0 +1,9 @@
namespace YY.Admin.Core.Services;
/// <summary>
/// 通过 RESTSCADA拉取用户并写入本地 jeecg_sys_user供 Outbox 统一线路消费。
/// </summary>
public interface IJeecgUserMirrorPullHandler
{
Task<bool> ExecutePullAsync(CancellationToken cancellationToken = default);
}

View File

@@ -0,0 +1,9 @@
namespace YY.Admin.Core.Services;
/// <summary>
/// 将「需拉取 Jeecg 用户镜像」写入 Outbox断网不丢、联网续传由 Services 侧协调器调用。
/// </summary>
public interface IJeecgUserMirrorPullOutbox
{
Task EnqueuePullAsync(string eventType, string? payloadJson, CancellationToken cancellationToken = default);
}

View File

@@ -0,0 +1,8 @@
namespace YY.Admin.Core.Services;
public interface INetworkMonitor
{
bool IsOnline { get; }
event Action<bool>? StatusChanged;
Task StartAsync(CancellationToken cancellationToken = default);
}

View File

@@ -0,0 +1,13 @@
namespace YY.Admin.Core.Services;
public interface ISignalRService
{
Task ConnectAsync(string token, CancellationToken cancellationToken = default);
/// <summary>
/// 设备同步统一通道STOMP 订阅 /topic/sync/jeecg-users免密或带设备 Token与 Outbox+REST 同属一条规范线路。
/// </summary>
Task ConnectUnifiedDeviceChannelAsync(CancellationToken cancellationToken = default);
Task SendDeviceStatusAsync(object status, CancellationToken cancellationToken = default);
}