|
|
@ -56,6 +56,8 @@ namespace _24Hour |
|
|
|
secid = $"{configuration.GetSection("Wechat:secid").Value}"; |
|
|
|
secid = $"{configuration.GetSection("Wechat:secid").Value}"; |
|
|
|
Gzhappid = $"{configuration.GetSection("WechatGzh:appid").Value}"; |
|
|
|
Gzhappid = $"{configuration.GetSection("WechatGzh:appid").Value}"; |
|
|
|
Gzhsecret = $"{configuration.GetSection("WechatGzh:secret").Value}"; |
|
|
|
Gzhsecret = $"{configuration.GetSection("WechatGzh:secret").Value}"; |
|
|
|
|
|
|
|
TemplateIdSuccess = $"{configuration.GetSection("Wechat:templateIdSuccess").Value}"; |
|
|
|
|
|
|
|
TemplateIdFail = $"{configuration.GetSection("Wechat:templateIdFail").Value}"; |
|
|
|
} |
|
|
|
} |
|
|
|
//小程序获取openId |
|
|
|
//小程序获取openId |
|
|
|
public async Task<Result> GetOpenId(string code) |
|
|
|
public async Task<Result> GetOpenId(string code) |
|
|
|