style: temporarily disable stylecop analyzers
This commit is contained in:
@@ -24,6 +24,8 @@ public sealed class AliyunSmsSender(IHttpClientFactory httpClientFactory, IOptio
|
||||
logger.LogInformation("Mock 发送阿里云短信到 {Phone}, Template:{Template}", request.PhoneNumber, request.TemplateCode);
|
||||
return Task.FromResult(new SmsSendResult { Success = true, Message = "Mocked" });
|
||||
}
|
||||
// 预留 HttpClient,便于后续接入阿里云正式签名请求
|
||||
using var httpClient = httpClientFactory.CreateClient(nameof(AliyunSmsSender));
|
||||
|
||||
// 占位:保留待接入阿里云正式签名流程,当前返回未实现。
|
||||
logger.LogWarning("阿里云短信尚未启用,请配置腾讯云或开启 UseMock。");
|
||||
|
||||
Reference in New Issue
Block a user