wechat icon indicating copy to clipboard operation
wechat copied to clipboard

测试实践后 模板小程序部分参数 微信文档与微信后台不一致。这儿的pagepath实际为path。否则 模板报错"errcode":40165

Open XuHaoIgeneral opened this issue 6 years ago • 1 comments

https://github.com/chanxuehong/wechat/blob/7e0579cb53778593c058a1b60cfd0df9010f402c/mp/message/template/send.go#L27

XuHaoIgeneral avatar Jan 10 '19 03:01 XuHaoIgeneral

PagePath string json:"path" // 必选; 所需跳转到的小程序appid(该小程序appid必须与发模板消息的公众号是绑定关联关系) 这样才是正确的

XuHaoIgeneral avatar Jan 10 '19 09:01 XuHaoIgeneral