短信接收报告回调处理小Bug

receiveSmsStatus() 方法中最后调用 updateSmsReceiveResult() 方法传参错误,第二个 result.getErrorCode()  应改为 result.getErrorMsg()

Signed-off-by: Macro <8676847+hibernate2021@user.noreply.gitee.com>
This commit is contained in:
Macro 2022-10-19 10:28:03 +00:00 committed by Gitee
parent a13fb61359
commit fc76a67c73
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -180,7 +180,7 @@ public class SmsSendServiceImpl implements SmsSendService {
}
// 更新短信日志的接收结果. 因为量一般不大所以先使用 for 循环更新
receiveResults.forEach(result -> smsLogService.updateSmsReceiveResult(result.getLogId(),
result.getSuccess(), result.getReceiveTime(), result.getErrorCode(), result.getErrorCode()));
result.getSuccess(), result.getReceiveTime(), result.getErrorCode(), result.getErrorMsg()));
}
}