From 6e9ec1c080f1a2d8ea3f2e923acd807487ada271 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期五, 21 十一月 2025 16:40:02 +0800
Subject: [PATCH] feat:开发

---
 ApiTools.Core/Utils/WxmpUtils/WxmpUtils.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ApiTools.Core/Utils/WxmpUtils/WxmpUtils.cs b/ApiTools.Core/Utils/WxmpUtils/WxmpUtils.cs
index 33c360c..864a1d8 100644
--- a/ApiTools.Core/Utils/WxmpUtils/WxmpUtils.cs
+++ b/ApiTools.Core/Utils/WxmpUtils/WxmpUtils.cs
@@ -161,11 +161,11 @@
             if (option == null || option.AppId.IsNull() || option.AppSecret.IsNull())
                 throw Oops.Oh(EnumErrorCodeType.s400, "鍙戦�佽闃呮秷鎭け璐ワ紝缂哄け閰嶇疆锛歐xmpOptions");
             command.EnvVersion = option.EnvVersion;
-            if (!options.Value.SubscribMessageTemplates.ContainsKey(command.TemplateId))
-                throw Oops.Oh(EnumErrorCodeType.s400, "鍙戦�佽闃呮秷鎭け璐ワ紝妯℃澘涓嶅瓨鍦�");
-            var template = options.Value.SubscribMessageTemplates[command.TemplateId];
-            command.TemplateId = template.TemplateId;
-            if (command.Page.IsNull()) command.Page = template.Page;
+            //if (!options.Value.SubscribMessageTemplates.ContainsKey(command.TemplateId))
+            //    throw Oops.Oh(EnumErrorCodeType.s400, "鍙戦�佽闃呮秷鎭け璐ワ紝妯℃澘涓嶅瓨鍦�");
+            //var template = options.Value.SubscribMessageTemplates[command.TemplateId];
+            //command.TemplateId = template.TemplateId;
+            //if (command.Page.IsNull()) command.Page = template.Page;
             var accessToken = await GetAccessToken(command.WxmpCode);
             var jsonContent = JsonConvert.SerializeObject(command, new JsonSerializerSettings
             {

--
Gitblit v1.9.1