请求的json:
{"touser":"oelim5JahU_xsP-HVDQRXm3md3CI","template_id":"1weHba9wlb9fzVYvnTpOZIk4gAWgqweTOg165edhbrs","form_id":"wx09142435401925ad2f68ec941484215000","data":{"keyword1":{"value":"2019-08-09 14:24:42"},"keyword2":{"value":"{安徽省合肥市舒城县晓天镇} ..."},"keyword3":{"value":"1565331873723"},"keyword4":{"value":"1"},"keyword5":{"value":"1565331888583"},"keyword6":{"value":"138.00"},"keyword7":{"value":"江苏省南京市玄武区测试地址"}}}
可以确保json中数据都是没有问题的
返回:
{"errcode":41028,"errmsg":"invalid form id hint: [YBr4kA08833948]"}
小程序appid:wx0b810bc5f39f6a64,麻烦官方看一下,非常感谢!
综合楼上的意见再参考:
"errcode":41028," 问题救解
https://developers.weixin.qq.com/community/develop/doc/000e8471d84580b536c865bee51000
41028 form_id不正确,或者过期。检查确保form_id的有效性。
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/template-message/templateMessage.send.html
检查过了?