- 微信开发工具模拟小程序跳转接收不到extraData参数?
1微信开发工具设置: [图片] 前端代码片段: onLoad(options){ // 打印接收到的参数 console.log('onLoad options:', options); if (options.name) { console.log('接收到的 name:', options.name); // 应输出 "axle" } else { console.log('未接收到 name 参数'); } }, 3 最后输出:[图片] 4、微信开发工具版本[图片]
03-25 - 客服消息添加超链接提示45086,invalid attrbute,我提供rid信息,为什么会这样?
https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.htmlhttps://developers.weixin.qq.com/doc/offiaccount/openApi/get_rid_info.html 小程序和公众号已绑定 有两个微信小程序appid, 例如A的appid = 1,B的appid = 2, 同一份代码,例如: $message = [ 'touser' => $openId, 'msgtype' => 'text', 'text' => [ 'content' => "感谢关注微信服务号!请点击【绑定】进行身份验证,更多精彩请点击:\n" . ], data-miniprogram-appid='1' 正常,能推送信息 data-miniprogram-appid='2' 不正常,报错:{"errcode":45086,"errmsg":"invalid attrbute 'data-miniprogram-appid' rid: 67ca982b-3f7384ba-52381e49"} 微信公众平台,我确定小程序A和小程序B跟微信公众号是绑定的
03-07