mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:09:49 +08:00
【修复】修复短信发送接口未使用异步函数的问题。
This commit is contained in:
@@ -108,7 +108,7 @@ namespace CoreCms.Net.Services
|
|||||||
await _dal.InsertAsync(oldLog);
|
await _dal.InsertAsync(oldLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
var str = SendSms(oldLog.mobile, oldLog.contentBody, smsOptions);
|
var str =await SendSms(oldLog.mobile, oldLog.contentBody, smsOptions);
|
||||||
jm.status = true;
|
jm.status = true;
|
||||||
jm.data = str;
|
jm.data = str;
|
||||||
jm.msg = "短信发送成功";
|
jm.msg = "短信发送成功";
|
||||||
|
|||||||
Reference in New Issue
Block a user