From 37df521a037702e4c0710011c7378cc5f9238fba Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 01 十二月 2025 13:40:36 +0800
Subject: [PATCH] feat:开发
---
ApiTools.Core/Utils/SmsUtils/Services/ChengLiYeSmsService.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ApiTools.Core/Utils/SmsUtils/Services/ChengLiYeSmsService.cs b/ApiTools.Core/Utils/SmsUtils/Services/ChengLiYeSmsService.cs
index cd47bbc..d21998e 100644
--- a/ApiTools.Core/Utils/SmsUtils/Services/ChengLiYeSmsService.cs
+++ b/ApiTools.Core/Utils/SmsUtils/Services/ChengLiYeSmsService.cs
@@ -24,7 +24,7 @@
private readonly IOptions<ChengLiYeSmsOptions> options = options;
private readonly IHttpRemoteService httpRemoteService = httpRemoteService;
- public async Task<SmsResponse> SendAsync(string phoneNumber, EnumSmsTemplateCode templateCode, object templateParam, CancellationToken cancellationToken)
+ public async Task<SmsResponse> SendAsync(string signName, string phoneNumber, EnumSmsTemplateCode templateCode, object templateParam, CancellationToken cancellationToken)
{
var content = options.Value.TemplateCodes[templateCode.ToString()];
if (templateParam != null)
@@ -40,9 +40,9 @@
var body = new ChengLiYeSmsSubmitRequest
{
UserName = options.Value.UserName,
- Sign = MD5Encryption.Encrypt($"{options.Value.UserName}{options.Value.Password}{phoneNumber}銆恵options.Value.SignName}銆憑content}"),
+ Sign = MD5Encryption.Encrypt($"{options.Value.UserName}{options.Value.Password}{phoneNumber}銆恵signName}銆憑content}"),
Mobile = phoneNumber,
- Content = $"銆恵options.Value.SignName}銆憑content}",
+ Content = $"銆恵signName}銆憑content}",
};
var log = new ThreeResourceLog
{
--
Gitblit v1.9.1