用户通过扫带参数的二维码关注公众号,公众号推送数据的参数里Event是subscribe,但EventKey并没有包含扫码的参数,subscribe_scene应该是ADD_SCENE_QR_CODE,但是会出现ADD_SCENE_SEARCH,ADD_SCENE_OTHERS,ADD_SCENE_CHANNELS,也会出现ADD_SCENE_QR_CODE,但是EventKey依旧是空
appid:wxb87912b1166eef72
带参数二维码:
公众号返回扫码关注数据,EventKey为空,无返回参数:
2022-11-24 12:45:22
'data' =>
array (
'ToUserName' => 'gh_efc77ca8c7ac',
'FromUserName' => 'omt27uIB29DuyyxaTsmN_PKIGhhM',
'CreateTime' => '1669265121',
'MsgType' => 'event',
'Event' => 'subscribe',
'EventKey' => NULL,
)
通过FromUserName获取客户数据
array (
'subscribe' => 1,
'openid' => 'omt27uIB29DuyyxaTsmN_PKIGhhM',
'nickname' => '',
'sex' => 0,
'language' => 'zh_CN',
'city' => '',
'province' => '',
'country' => '',
'headimgurl' => '',
'subscribe_time' => 1669265121,
'unionid' => 'oAndb6fB9q-tmv2wxiDVQmDBJ7rs',
'remark' => '',
'groupid' => 0,
'tagid_list' =>
array (
),
'subscribe_scene' => 'ADD_SCENE_SEARCH',
'qr_scene' => 0,
'qr_scene_str' => '',
'app_id' => 'wxb87912b1166eef72',
)
同一个用户重新识别二维码,成功返回,2022-11-24 12:45:50
array (
'ToUserName' => 'gh_efc77ca8c7ac',
'FromUserName' => 'omt27uIB29DuyyxaTsmN_PKIGhhM',
'CreateTime' => '1669265150',
'MsgType' => 'event',
'Event' => 'SCAN',
'EventKey' => 'id_user=50022&bra_id=284&from_type=wx',
'Ticket' => 'gQFM8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyRk5LWFY2cXRhWFUxMDAwMHcwN0cAAgTy8stiAwQAAAAA',
)
能帮忙跟进处理下么,这种情况特别多
你好,请提供帐号,完整请求和返回信息,最近的操作时间,二维码等信息
每天时不时遇到几个 怎么回事啊
appid:wxb87912b1166eef72
带参数二维码:
公众号返回扫码关注数据,EventKey为空,无返回参数:
2022-11-12 18:56:02
array (
'ToUserName' => 'gh_efc77ca8c7ac',
'FromUserName' => 'omt27uD6xJNcIlsOcFTyuN6R3q-g',
'CreateTime' => '1668250560',
'MsgType' => 'event',
'Event' => 'subscribe',
'EventKey' => NULL,
)
通过FromUserName获取客户数据
array (
'subscribe' => 1,
'openid' => 'omt27uD6xJNcIlsOcFTyuN6R3q-g',
'nickname' => '',
'sex' => 0,
'language' => 'zh_CN',
'city' => '',
'province' => '',
'country' => '',
'headimgurl' => '',
'subscribe_time' => 1668250560,
'unionid' => 'oAndb6RVxCR1jvfjNQiK88kS8Bxo',
'remark' => '',
'groupid' => 0,
'tagid_list' =>
array (
),
'subscribe_scene' => 'ADD_SCENE_SEARCH',
'qr_scene' => 0,
'qr_scene_str' => '',
'app_id' => 'wxb87912b1166eef72',
)
重新取消再关注公众号,2022-11-12 19:10:58
array (
'ToUserName' => 'gh_efc77ca8c7ac',
'FromUserName' => 'omt27uD6xJNcIlsOcFTyuN6R3q-g',
'CreateTime' => '1668251457',
'MsgType' => 'event',
'Event' => 'subscribe',
'EventKey' => NULL,
)
通过FromUserName获取客户数据
array (
'subscribe' => 1,
'openid' => 'omt27uD6xJNcIlsOcFTyuN6R3q-g',
'nickname' => '',
'sex' => 0,
'language' => 'zh_CN',
'city' => '',
'province' => '',
'country' => '',
'headimgurl' => '',
'subscribe_time' => 1668251457,
'unionid' => 'oAndb6RVxCR1jvfjNQiK88kS8Bxo',
'remark' => '',
'groupid' => 0,
'tagid_list' =>
array (
),
'subscribe_scene' => 'ADD_SCENE_SEARCH',
'qr_scene' => 0,
'qr_scene_str' => '',
'app_id' => 'wxb87912b1166eef72',
)
扫码关注公众号返回正确数据,EventKey返回参数值:
2022-11-12 19:28:27
array (
'ToUserName' => 'gh_efc77ca8c7ac',
'FromUserName' => 'omt27uPmmIFZWSpcepIcR9qG6YPA',
'CreateTime' => '1668252507',
'MsgType' => 'event',
'Event' => 'subscribe',
'EventKey' => 'qrscene_id_user=39000&bra_id=272&from_type=wx',
'Ticket' => 'gQGS8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyMkpSRFVncXRhWFUxMDAwMGcwN3gAAgSatPBhAwQAAAAA',
)
通过FromUserName获取客户数据
array (
'subscribe' => 1,
'openid' => 'omt27uPmmIFZWSpcepIcR9qG6YPA',
'nickname' => '',
'sex' => 0,
'language' => 'zh_CN',
'city' => '',
'province' => '',
'country' => '',
'headimgurl' => '',
'subscribe_time' => 1668252507,
'unionid' => 'oAndb6bJTnWwu6Ps2OJWbAvdOF9Q',
'remark' => '',
'groupid' => 0,
'tagid_list' =>
array (
),
'subscribe_scene' => 'ADD_SCENE_QR_CODE',
'qr_scene' => 0,
'qr_scene_str' => 'id_user=39000&bra_id=272&from_type=wx',
'app_id' => 'wxb87912b1166eef72',
)