问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 微信小程序 Bug https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=ACCESS_TOKEN 客户端 6.5.3 2.0.0
api url:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=xxx
param:
{
"data": {
"keyword1": {
"color": "",
"value": "AAA"
},
"keyword2": {
"color": "",
"value": "ddd 共3件商品"
},
"keyword3": {
"color": "",
"value": "181029001101008400032003"
},
"keyword4": {
"color": "",
"value": "BBB Address"
},
"keyword5": {
"color": "",
"value": "18680387513"
}
},
"form_id": "4200000230201810298931311829",
"page": "/pages/users/shareOrder/shareOrder?linksource=appletNotice&orderId=181029001101008400032003",
"template_id": "l8k59PryK7UqC-TeimL0S_goXJWlkgZQzfZPxRaOZ-M",
"touser": "oijmK5SIt2nsFFe0ieC32Z-ivktt"
}
响应:{"errcode":41028,"errmsg":"invalid form id hint: [ICcXsA06934114]"}
form_id
4200000230201810298931311829 用的是微信交易单号....
为什么提示无效form id,请大神们
微信小程序开发问题解答
微信小程序开发者回答:
哥们,formid有两种生成规则,一种是表单提交生成,一种是本次支付的prepay_id
本文网址:http://www.91bianli.com/kaifazhinan/77630.html