有赞新零售社区

发帖
API使用问题»订阅会员的数据丢失

[API调用-会员/营销] 订阅会员的数据丢失

coke_papa 2022-07-04 1188 浏览 5 评论 | 只看楼主 [打印]
批量导入101条会员数据,推送到我方的系统,只有95条数据,其中5条数据在借口日志中查询不到
本帖最后由 coke_papa 于 2022-7-4 15:08 编辑
用手机打开
收藏 ··· 回复
    coke_papa 青铜   2022-07-04 | 只看该作者
    批量一共101条,查看订阅的消息记录也是101条,但是我方只收到了95条

      王广江   白银   2022-07-04 | 只看该作者
      您好,DIY控制台记录的是所有的推送记录。如果和您自己记录的日志不一致,辛苦核对一下具体是哪条消息,在您的日志中未记录,需要提供这条消息的sign,这边可以协助核实一下7天内的推送记录。
      • coke_papa 2022-07-05
        日志推送了,查找了半天是你们这边,客户信息里面的字段"version":1656928836990,推给我们两次,
        open_id却是不同的
        open_id:rOprRX4J993577085169569792
        open_id:NdZolF3e993577085219897344
        麻烦你们查一下,为什么会推一样的version
        {"id":"17397530683","type":"SCRM_CUSTOMER_EVENT","status":"CUSTOMER_CREATED","msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%2217397530683%22%2C%22src%22%3A300%2C%22mobile%22%3A%2218318423429%22%2C%22created_at%22%3A1656928836%7D","version":"1656928836990","msg_id":"99ea5310aadf6e9482b7e2e77babba00","kdt_name":null,"app_id":null,"kdt_id":"106948233","yz_open_id":"rOprRX4J993577085169569792"}

        {"id":"14744796647","type":"SCRM_CUSTOMER_EVENT","status":"CUSTOMER_CREATED","msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%2214744796647%22%2C%22src%22%3A300%2C%22mobile%22%3A%2218318423426%22%2C%22created_at%22%3A1656928836%7D","version":"1656928836990","msg_id":"73b4729ebab94994d1593ad6e5005ae8","kdt_name":null,"app_id":null,"kdt_id":"106948233","yz_open_id":"NdZolF3e993577085219897344"}

      coke_papa 青铜   2022-07-05 | 只看该作者
      日志推送了,查找了半天是你们这边,客户信息里面的字段"version":1656928836990,推给我们两次,
      open_id却是不同的
      open_id:rOprRX4J993577085169569792
      open_id:NdZolF3e993577085219897344
      麻烦你们查一下,为什么会推一样的version
      {"id":"17397530683","type":"SCRM_CUSTOMER_EVENT","status":"CUSTOMER_CREATED","msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%2217397530683%22%2C%22src%22%3A300%2C%22mobile%22%3A%2218318423429%22%2C%22created_at%22%3A1656928836%7D","version":"1656928836990","msg_id":"99ea5310aadf6e9482b7e2e77babba00","kdt_name":null,"app_id":null,"kdt_id":"106948233","yz_open_id":"rOprRX4J993577085169569792"}

      {"id":"14744796647","type":"SCRM_CUSTOMER_EVENT","status":"CUSTOMER_CREATED","msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%2214744796647%22%2C%22src%22%3A300%2C%22mobile%22%3A%2218318423426%22%2C%22created_at%22%3A1656928836%7D","version":"1656928836990","msg_id":"73b4729ebab94994d1593ad6e5005ae8","kdt_name":null,"app_id":null,"kdt_id":"106948233","yz_open_id":"NdZolF3e993577085219897344"}

        coke_papa 青铜   2022-07-05 | 只看该作者
        根据version判断接口记录去重,你们推重了,导致我们这边记录都没落库

          王广江   白银   2022-07-05 | 只看该作者
          您好,msg_id 是消息的唯一标识;version 是消息版本号,为了解决顺序性的问题 ,高版本覆盖低版本,并不是消息的唯一标识。
          您提供的两条消息,实际上是两个客户的创建消息。
          是两个不同的手机号。


            1跳至
            您需要登录后才可以回帖 登录 | 立即注册

            本版积分规则

            复制链接
            新浪微博
            QQ空间
            微信扫码
            • 回复

            • 评分

            客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

            复制成功