This commit is contained in:
橙子
2021-11-04 15:38:38 +08:00
parent 9378cd937c
commit 7f3fcf32b0
3 changed files with 4 additions and 9 deletions

View File

@@ -43,9 +43,10 @@ namespace Yi.Framework.SMSProcessor
HttpClient _HttpClient = new HttpClient();
this._RabbitMQInvoker.RegistReciveAction(rabbitMQConsumerModel, message =>
{
var data= Common.Helper.JsonHelper.StrToObj<SMSQueueModel>(message);
try
{
_aliyunSMSInvoker.SendCode("1234","15949688315");
_aliyunSMSInvoker.SendCode(data.code, data.phone);
return true;
}