我也遇到这个问题,收到两次请求,而且router.rule()匹配不到有eventKey的, // 上报地理位置事件 router.rule().async(false) .msgType(WxConsts.XmlMsgType.EVENT) .event(WxConsts.EventType.LOCATION_SELECT) .eventKey("push_car_in") .handler(locationHandler) .end(); 收到的请求: <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[location_select]]></Event> <EventKey><![CDATA[push_car_in]]></EventKey>
服务号自定义菜单【location_select:弹出地理位置选择器的事件推送】--是不能被动回复?原本预想是: 1-自定义菜单里添加【地理位置选择】,用户点击 2-选择地理位置--》发送 3-后台根据【弹出地理位置选择器的事件推送】+【EventKey】分别响应 ------------------ 但现在是,用户点击菜单后,【弹出地理位置选择器】,选择后能收到二条推送,有EventKey的推送不能回复。 有EventKey的是不能被动回复吗? 有EventKey的推送,不可回复 <xml><ToUserName><![CDATA[gh_dee579b5b0a6]]></ToUserName> <FromUserName><![CDATA[oSFt86RexnyQN_oC-RkbDeWrtbBU]]></FromUserName> <CreateTime>1666233972</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[location_select]]></Event> <EventKey><![CDATA[rselfmenu_2_0]]></EventKey> <SendLocationInfo><Location_X><![CDATA[223234324010742]]></Location_X> <Location_Y><![CDATA[1234324075683594]]></Location_Y> <Scale><![CDATA[15]]></Scale> <Label><![CDATA[罗2342341号]]></Label> <Poiname><![CDATA[234234324厦]]></Poiname> </SendLocationInfo> </xml> ------------------------------------------------------------------------ 没有EventKey的推送,可回复 <xml><ToUserName><![CDATA[gh_dee579b5b0a6]]></ToUserName> <FromUserName><![CDATA[oSFt86RexnyQN_oC-RkbDeWrtbBU]]></FromUserName> <CreateTime>1666233972</CreateTime> <MsgType><![CDATA[location]]></MsgType> <Location_X>2342345021</Location_X> <Location_Y>123434651</Location_Y> <Scale>15</Scale> <Label><![CDATA[234234091号]]></Label> <MsgId>23854737818033804</MsgId> </xml> -------------- location_select:弹出地理位置选择器的事件推送 https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Custom_Menu_Push_Events.html#location-select%EF%BC%9A%E5%BC%B9%E5%87%BA%E5%9C%B0%E7%90%86%E4%BD%8D%E7%BD%AE%E9%80%89%E6%8B%A9%E5%99%A8%E7%9A%84%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81
03-20你好,我也遇到这个问题,怎么解决的
小程序支付 requestPayment:fail jsapi has no permission?小程序支付时 报错提示 "errno": 102, "errMsg": "requestPayment:fail jsapi has no permission, event=requestPayment, runningState=foreground, permissionMsg=permission got, detail=jsapi has been banned" 微信认证未过期,且未收到支付惩罚,请问是什么原因 Appid为:wx09a73f9112030bca [图片]
03-07