同问 开发语言:php $data = [ "action_name" => "QR_LIMIT_SCENE", "action_info" => [ "scene" => [ "scene_str" => "whiteList_".$cmid ] ] ]; $rs = $qr->create($token, json_encode($data)); 结果 <xml><ToUserName><![CDATA[xxxxxxxxxxxxxxxxxxxxx]]></ToUserName> <FromUserName><![CDATA[xxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]></FromUserName> <CreateTime>1610698264</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[SCAN]]></Event> <EventKey><![CDATA[0]]></EventKey> <Ticket><![CDATA[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]></Ticket> </xml>
公众号生成临时二维码,回调参数EventKey没有值?【请求地址】: https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=38_E1tuvxvJvLtUiNL7xSbFtH1dAhoEquWeN0lS82W7q5JBYz3trOZlD3Zbw_x_6yigzvKsBhFAvjPZkE1R1m7G46F1FNZlqt-rlBRqnvIvIlp8MKyUIETRdyn3L9jAJWxHGxIIrHUYv_6XOw0bTQEcAEDEBP 【请求参数】:{"action_name":"QR_STR_SCENE","expire_seconds":10800,"action_info":{"scene":{"scene_str":"gift_1298439407299280897"}}} 【响应数据】:{"ticket":"gQEw8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWkFTcmgyNDRkMjAxTEJ2dzF2Y1gAAgS1taBfAwQwKgAA","expire_seconds":10800,"url":"http:\/\/weixin.qq.com\/q\/02ZASrh244d201LBvw1vcX"} 根据产生的二维码,关注公众号。 {"allFieldsMap":{"CreateTime":"1604367805","EventKey":"","Event":"subscribe","ToUserName":"gh_23f2d6a925d5","FromUserName":"oBERCwMXSsoM612rWNOnPKok14Wk","MsgType":"event"},"createTime":"1604367805","event":"subscribe","eventKey":"","fromUser":"oBERCwMXSsoM612rWNOnPKok14Wk","hardWare":{},"msgType":"event","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUser":"gh_23f2d6a925d5"} EventKey中的值为空。
2021-01-15今天做二维码,发现了这个问题,不知道怎么想的,直接在微信中是能打开的,其他一概打不开,不打算在pc上显示了么?脑子有泡吧
mmbizurl.cn 短网址 没法访问那?部分功能没法使用 ,二维码全部挂掉如题,访问生成的短链接,没法显示,我这边是企业宽带,就连大众说的改网关,我都没法改... 你们这个网址到底想干啥啊。实在是质量太差了啊。 你们自己看看论坛反馈的问题,解决啊,我记得我在某个帖子,看到官方回复 [图片] 不好意思 你们还真没做好... 论坛到底多少人反馈 你们自己心里没数吗。 [图片]
2021-01-14