|
@@ -185,7 +185,6 @@ public class PushDomainService : IPushDomainService, IScopeDependency
|
|
strResult = "error,参数错误";
|
|
strResult = "error,参数错误";
|
|
return strResult;
|
|
return strResult;
|
|
}
|
|
}
|
|
- _logger.LogInformation($"短信发送状态回调接口参数验证通过");
|
|
|
|
//修改数据
|
|
//修改数据
|
|
var data = await _messageRepository.GetAsync(p => p.SmsWaitSendingId == receiveMessageDto.msgid);
|
|
var data = await _messageRepository.GetAsync(p => p.SmsWaitSendingId == receiveMessageDto.msgid);
|
|
if (data != null)
|
|
if (data != null)
|
|
@@ -201,7 +200,6 @@ public class PushDomainService : IPushDomainService, IScopeDependency
|
|
}
|
|
}
|
|
else
|
|
else
|
|
strResult = "error,调用失败";
|
|
strResult = "error,调用失败";
|
|
- _logger.LogInformation($"短信发送状态回调接口返回:{strResult}");
|
|
|
|
return strResult;
|
|
return strResult;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -212,7 +210,6 @@ public class PushDomainService : IPushDomainService, IScopeDependency
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
public async Task<string> ReceiveSms(ReceiveMessageDto receiveMessageDto)
|
|
public async Task<string> ReceiveSms(ReceiveMessageDto receiveMessageDto)
|
|
{
|
|
{
|
|
- _logger.LogInformation($"短信接收:{System.Text.Json.JsonSerializer.Serialize(receiveMessageDto)}");
|
|
|
|
string strResult = "error,缺少参数";
|
|
string strResult = "error,缺少参数";
|
|
if (receiveMessageDto.account != accountInfo.ReturnAccountUser || receiveMessageDto.pswd != accountInfo.ReturnAccountPwd)
|
|
if (receiveMessageDto.account != accountInfo.ReturnAccountUser || receiveMessageDto.pswd != accountInfo.ReturnAccountPwd)
|
|
{
|
|
{
|