小程序调用公众号下发消息报invalid appid?
array(2) {
["touser"] => string(28) "o43SG4i_l8YpyPD7FVxEIBCW63aM"
["mp_template_msg"] => array(5) {
["appid"] => string(18) "wx0ef2e7d6c6413255"
["template_id"] => string(43) "lOdVuRSQC35MYh9WTPr_69e9BvJ5GUwPa7RqVV9Zm3s"
["url"] => string(0) ""
["miniprogram"] => array(2) {
["appid"] => string(18) "wx09a849a0ffd8e673"
["pagepath"] => string(36) "pages/transfer/yi_package/yi_package"
}
["data"] => array(4) {
["first"] => array(1) {
["value"] => string(24) "您的包裹已入库!"
}
["keyword1"] => array(1) {
["value"] => string(6) "ce5511"
}
["keyword2"] => array(1) {
["value"] => string(19) "2021-11-18 00:38:42"
}
["remark"] => array(1) {
["value"] => string(24) "请及时提交订单!"
}
}
}
}
array(2) {
["errcode"] => int(40013)
["errmsg"] => string(45) "invalid appid rid: 61c194de-2d9a1ef5-4b191696"
}
通过小程序appid和秘钥获取到access_token 然后调用uniform_send下发公众号消息提示invalid appid
确定小程序和appid和公众号appid正确 并且绑定了
至今未给出解决方案
https://developers.weixin.qq.com/community/develop/doc/000ceee0594f4094a33dac61856000