小程序发送模板消息 {"errcode":41028
小程序发送模板消息提示form_id 失效或已过期 是用开发版的代码,手机扫码获取到的form_id,这个form_id一定要在线上吗?不能在本地测试还是我这边流程有问题 [代码]string[代码] [代码]url = [代码][代码]string[代码][代码].Format([代码][代码]"https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token={0}"[代码][代码], AccessToken);[代码][代码] [代码][代码]string[代码] [代码]postData = [代码][代码]"{\"touser\":\""[代码] [代码]+ openId + [代码][代码]"\",\"template_id\":\""[代码][代码]+zzlsTemplateId+[代码][代码]"\","[代码] [代码]+[代码][代码] [代码][代码]"\"miniprogram\":{\"appid\":\""[代码] [代码]+ zzlsxcxId + [代码][代码]"\",\"page\":\""[代码] [代码]+ pagepath + [代码][代码]"\",\"form_id\":\""[代码] [代码]+ formId + [代码][代码]"\"},"[代码] [代码]+[代码][代码] [代码][代码]"\"data\":{\"first\":{\"value\":\"开课提醒\"},"[代码] [代码]+[代码][代码] [代码][代码]"\"keyword1\":{\"value\":\""[代码] [代码]+ liveTitle + [代码][代码]"\"},"[代码] [代码]+[代码][代码] [代码][代码]"\"keyword2\":{\"value\":\""[代码] [代码]+ time + [代码][代码]"\"},"[代码] [代码]+[代码][代码] [代码][代码]"\"keyword3\":{\"value\":\""[代码] [代码]+ teacherName + [代码][代码]"\"}"[代码] [代码]+[代码][代码] [代码][代码]"}}"[代码][代码];[代码]