Browse Source

update Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatService.cs.
修正为微信小程序appId

Signed-off-by: 汤俊飞 <tjfzeishuai@163.com>

汤俊飞 2 years ago
parent
commit
ced00d7d39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatService.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatService.cs

@@ -168,7 +168,7 @@ public class SysWechatService : IDynamicApiController, ITransient
             Url = input.Url,
             MiniProgram = new CgibinMessageTemplateSendRequest.Types.MiniProgram
             {
-                AppId = _wechatApiClientFactory._wechatOptions.WechatAppId,
+                AppId = _wechatApiClientFactory._wechatOptions.WxOpenAppId,
                 PagePath = input.MiniProgramPagePath,
             },
             Data = messageData