更新项目配置,新增设备同步模块,优化WebSocket和Swagger配置,增强SCADA系统的免登录接口,支持数据字典项和登录日志的免登录查询与记录。调整Java编译设置,确保更好的开发体验。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using YY.Admin.Core;
|
||||
using YY.Admin.Core.Services;
|
||||
using YY.Admin.Services.Service.Auth;
|
||||
|
||||
namespace YY.Admin.Services.Service.Jeecg;
|
||||
|
||||
/// <summary>
|
||||
/// Outbox 消费端:执行 SCADA 全量拉取并写入 jeecg_sys_user(与设备模块 HTTP 幂等上报并列的第二条 REST 能力)。
|
||||
/// </summary>
|
||||
public class JeecgUserMirrorPullHandler : IJeecgUserMirrorPullHandler, ISingletonDependency
|
||||
{
|
||||
private readonly ISysAuthService _authService;
|
||||
|
||||
public JeecgUserMirrorPullHandler(ISysAuthService authService)
|
||||
{
|
||||
_authService = authService;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public Task<bool> ExecutePullAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
return _authService.TryBackgroundSyncJeecgUsersAsync(cancellationToken);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user