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

---
 ApiTools.Application/WxUtils/Commands/WxmpSubscribMessageCommandHandler.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ApiTools.Application/WxUtils/Commands/WxmpSubscribMessageCommandHandler.cs b/ApiTools.Application/WxUtils/Commands/WxmpSubscribMessageCommandHandler.cs
index 25a8315..3e600b2 100644
--- a/ApiTools.Application/WxUtils/Commands/WxmpSubscribMessageCommandHandler.cs
+++ b/ApiTools.Application/WxUtils/Commands/WxmpSubscribMessageCommandHandler.cs
@@ -17,7 +17,7 @@
             WxmpUtils utils,
             IHttpContextAccessor httpContextAccessor
         ) :
-        IRequestHandler<WxmpSendSubscribMessageCommand, Guid>,
+        IRequestHandler<SendWxmpSubscribMessageCommand, Guid>,
         IRequestHandler<WxmpSubscribMessageNotifyCommand, bool>
     {
         private readonly ILogger<WxmpSubscribMessageCommandHandler> logger = logger;
@@ -30,12 +30,12 @@
         /// <param name="request"></param>
         /// <param name="cancellationToken"></param>
         /// <returns></returns>
-        public async Task<Guid> Handle(WxmpSendSubscribMessageCommand request, CancellationToken cancellationToken)
+        public async Task<Guid> Handle(SendWxmpSubscribMessageCommand request, CancellationToken cancellationToken)
         {
             await utils.WxmpSendSubscribMessage(new WxmpSendSubscribMessageRequest
             {
                 Data = request.Data,
-                TemplateId = request.Template.ToString(),
+                TemplateId = request.TemplateId,
                 Page = request.Page,
                 WxmpCode = request.WxmpCode,
                 Touser = request.Touser,

--
Gitblit v1.9.1