diff --git a/24Hour/WechatMessagerClient.cs b/24Hour/WechatMessagerClient.cs index f2a50b7..d87919e 100644 --- a/24Hour/WechatMessagerClient.cs +++ b/24Hour/WechatMessagerClient.cs @@ -56,6 +56,8 @@ namespace _24Hour secid = $"{configuration.GetSection("Wechat:secid").Value}"; Gzhappid = $"{configuration.GetSection("WechatGzh:appid").Value}"; Gzhsecret = $"{configuration.GetSection("WechatGzh:secret").Value}"; + TemplateIdSuccess = $"{configuration.GetSection("Wechat:templateIdSuccess").Value}"; + TemplateIdFail = $"{configuration.GetSection("Wechat:templateIdFail").Value}"; } //小程序获取openId public async Task GetOpenId(string code)