|
|
|
@ -8,6 +8,7 @@ using Org.BouncyCastle.Security; |
|
|
|
using System.Net.Http.Json; |
|
|
|
using System.Net.Http.Json; |
|
|
|
using System.Security.Cryptography; |
|
|
|
using System.Security.Cryptography; |
|
|
|
using System.Text.Json; |
|
|
|
using System.Text.Json; |
|
|
|
|
|
|
|
using WeiCloud.Core.BaseModels; |
|
|
|
|
|
|
|
|
|
|
|
namespace Alarm.DomainService.DahAlarm |
|
|
|
namespace Alarm.DomainService.DahAlarm |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -240,7 +241,7 @@ namespace Alarm.DomainService.DahAlarm |
|
|
|
/// <exception cref="NotImplementedException"></exception> |
|
|
|
/// <exception cref="NotImplementedException"></exception> |
|
|
|
public async Task<ApiResult<bool>> HandleAsync(EventEnvelopeDto dto) |
|
|
|
public async Task<ApiResult<bool>> HandleAsync(EventEnvelopeDto dto) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ApiResult<bool> result = new ApiResult<bool>() { Code = 200, Msg = "接口调用成功", Data = true }; |
|
|
|
ApiResult<bool> result = new() { Code = 200, Msg = "接口调用成功", Data = true }; |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (dto is null) |
|
|
|
if (dto is null) |
|
|
|
|