收藏
回答

用户扫带参数二维码关注公众号,公众号推送数据的参数EventKey并没有包含扫码的参数?

用户通过扫带参数的二维码关注公众号,公众号推送数据的参数里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',

  )

能帮忙跟进处理下么,这种情况特别多

最后一次编辑于  2022-11-25
回答关注问题邀请回答
收藏

3 个回答

  • Summer✨
    Summer✨
    2022-11-14

    你好,请提供帐号,完整请求和返回信息,最近的操作时间,二维码等信息

    2022-11-14
    有用
    回复 8
    • Snatch_Wylb
      Snatch_Wylb
      2022-11-17
      你好,有定位到问题了么
      2022-11-17
      回复
    • Summer✨
      Summer✨
      2022-11-17回复Snatch_Wylb
      没,开发同事尚未回复。
      2022-11-17
      回复
    • Snatch_Wylb
      Snatch_Wylb
      2022-11-21回复Summer✨
      你好,开发同事有反馈了记得通知下呐
      2022-11-21
      回复
    • Snatch_Wylb
      Snatch_Wylb
      2022-11-24
      请问有查到问题么
      2022-11-24
      回复
    • Snatch_Wylb
      Snatch_Wylb
      2022-11-28回复Summer✨
      你好,问题有回复了么
      2022-11-28
      回复
    查看更多(3)
  • 趁时光还在
    趁时光还在
    10-25

    每天时不时遇到几个 怎么回事啊

    10-25
    有用
    回复
  • Snatch_Wylb
    Snatch_Wylb
    2022-11-14

    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',

      )


    2022-11-14
    有用
    回复 1
    • 相遇且欢喜丶
      相遇且欢喜丶
      2023-03-28
      请问一下这个问题最后怎么解决的呢?
      2023-03-28
      回复
登录 后发表内容