mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
【修复】修复短信发送接口未使用异步函数的问题。
This commit is contained in:
@@ -108,7 +108,7 @@ namespace CoreCms.Net.Services
|
||||
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.data = str;
|
||||
jm.msg = "短信发送成功";
|
||||
|
||||
Reference in New Issue
Block a user