From ee552e8f4dd8a2d7bd59f7bd87845de0188d7a36 Mon Sep 17 00:00:00 2001
From: lijin <17408817@qq.com>
Date: 星期四, 20 十一月 2025 10:49:24 +0800
Subject: [PATCH] Merge branch 'dev-818-3.4.2.12' of http://120.26.58.240:8888/r/ApiTools into dev-818-3.4.2.12

---
 ApiTools.Application/SmsUtils/Commands/SmsAliyunNotifyCommandHandler.cs |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ApiTools.Application/SmsUtils/Commands/SmsAliyunNotifyCommandHandler.cs b/ApiTools.Application/SmsUtils/Commands/SmsAliyunNotifyCommandHandler.cs
index a023765..49e85f3 100644
--- a/ApiTools.Application/SmsUtils/Commands/SmsAliyunNotifyCommandHandler.cs
+++ b/ApiTools.Application/SmsUtils/Commands/SmsAliyunNotifyCommandHandler.cs
@@ -43,9 +43,16 @@
             var env = App.GetConfig<string>("Environment");
             if (env == "Product")
             {
-                var json = request.ToJson();
-                await httpRemoteService.PostAsStringAsync("http://localhost:5010/api/common/sms/smsAliyunNotify",
-                    builder => builder.SetJsonContent(json));
+                try
+                {
+                    var json = request.ToJson();
+                    await httpRemoteService.PostAsStringAsync("http://118.178.252.28:8780/api/common/sms/smsAliyunNotify",
+                        builder => builder.SetJsonContent(json));
+                }
+                catch
+                {
+
+                }
             }
 
             var templateCodes = await EnumUtils.GetModel<EnumSmsTemplateCode>();

--
Gitblit v1.9.1