收藏
回答

解析微信运动数据encryptedData,返回结果有部分乱码?

如图,前半部分乱码,导致json无法解析,请问这是什么原因?

解析userinfo的数据就正常,用的同一个方法。

回答关注问题邀请回答
收藏

3 个回答

  • y0y0
    y0y0
    2022-10-09

    这个问题解决了吗

    2022-10-09
    有用
    回复
  • laosir
    laosir
    2020-12-18

    同样遇到这个问题。请问怎么解决?

    2020-12-18
    有用
    回复
  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-04-17

    你好,麻烦具体描述下问题流程,提供下appid,完整的请求,最近一次操作时间(特别说明,5小时内才有机会快速定位,格式如:2020-4-10 10:10),收到的回复消息

    2020-04-17
    有用
    回复 3
    • 雪峰
      雪峰
      2020-04-17
      问题:请求微信运动数据返回结果异常
      appid:wxfb6ee31bb7b92323
      请求时间:2020-4-17 11:05
      微信运动encryptedData:0v0hgTnhImGSLeXAOXzgLqTD9iiPoxO3W+aaAzwWmEh5U/D5Peoh6eROqH2XdHv5MNstFdy6sZumtzN9DuaF8/vJ61XgVt+WEuptT4kO2LvefZ+Rod1d8Q9D19iyW4PRdOO2nW6ce1E7J8WEW/v1kmbRYlqkez3MTo1B6Eqn7I2J1FcaPVG+Dxr1Fy8h5aUtdEwAY30rEYmx5cXoFMwYWpo85qFrGlCxk8Jkc+iZKOX1vSLSiLrLOdruW8hja3iWVqO0VZVG84bbpJq3MGJOrep+WbrgY/7Cl2fh1tA2zDgZAr9Vzs5+SWhGn9mX65/i4L9Gb+v0yqfGd9dcFINuKVYhv+7EKc6qL5r3ID2zIAjjZgbuXEFUHQqEoy0NpSKSX9oLi3Tx4BWcjkx9tXpp8QZ70Je8svU0yKC9S3yubaBlUzjv9NGsoXUjfjOvBRODZYiWyIJuKF5+Yubgj1fY3nORsrrtzK3PE+YVjMi+4/A/Yd2QOC4w96sGgIF4NqmCiOIDezzIO/bzRbk2+Gkep6byu0WxnlU/zb0E0UkF1ZlPHYpgOIoCabv+X8tgKbjtO99GVYCJpX3Mz+r87lhqaFBc1O1Vn7oy0LBoYwN0mMd5kr4A+RaFE0F65YVrq35VVgmdSXrLAicst3M//d6c7rx0mqXJx4k8uq+I1bMTj5mztsrUJUpBX0k497yD4sPdxatiOrEg/L8Ofm4aB9Y4n76zDOVoRVOQQkG2InoVRqyLnQba19kJzT6weegYYd3otc8mvhPmhhkLrs5DBgtasK9lKUvyIjSIha6HN8oHfMuRwXmliudc/H2/lX0W/VY2AUM4BBYunvMXFQjZAmgb7CnXp8hVigYBtxK8TPQyoDqhyPQP+bbv71cJhztrxWvz+X8WV2QekvjRPUHMw2S3ycoK3ZvG4Qcg6W8RcAw0m7Raz71FPaUnMe8jJ1GQUEFeYssWnEyd4PTLQfCpceuIVGYDX4H3BIIr3mg5PX452z6Ir3scbfs1twZ97ffkbHBGOnHW9lmoay+RlXWx8FF3PyPTIo1KRRODNXt7h6gGDCQHnf3pFThxSKBmUN0tCxk9YCQ0wtGdWggaHMJEf7PLqoWtLt5QvCcxMBoRpdp2fZh1SD97VjLzkqujvXc2RCinBVQk2XUhhAL9GLGJgpp995CoEJZj/4dh3J+qVKCevd/G78Y7NhaF13FPRIVCbdN8OYovYmLeaTdTjDGd15V4z50DP1O9ZOlHaBE0R7iWBGRooqJQVUYTpJsSGOOHFIAbT9VAQAL81+CxnZ9kLqRHW23W2BJaJYQnL3Ie1egrQU2AkcNX2NnTq2NUgK81X8Rql+SuIeec5U1llPoz/FH2oXf5/yFfbG49iltpnRKhXhdnB2opIGAtbbXfNv/Zx7ktcskdRkYxAqkli0u8UtdbNNFlSfy0JC0o2ONp1vKfeeLDT0/LENYxnEanQp1x7qEw4owXigX3Fy721LTSP3JyN+mSHZqMO/bInNCh97TqnGjQWj0xEfud6dUmRE/3pReQ


      用session-key 和iv解析以后 json 第一个key出现乱码:
      ������
      4 BSqi����[{
       "timestamp": 1584460800,
       "step": 0
      }, {
       "timestamp": 1584547200,
       "step": 0
      }, {
       "timestamp": 1584633600,
       "step": 0
      }, {
       "timestamp": 1584720000,
       "step": 0
      }, {
       "timestamp": 1584806400,
       "step": 0
      }, {
       "timestamp": 1584892800,
       "step": 0
      }, {
       "timestamp": 1584979200,
       "step": 0
      }, {
       "timestamp": 1585065600,
       "step": 0
      }, {
       "timestamp": 1585152000,
       "step": 0
      }, {
       "timestamp": 1585238400,
       "step": 0
      }, {
       "timestamp": 1585324800,
       "step": 0
      }, {
       "timestamp": 1585411200,
       "step": 0
      }, {
       "timestamp": 1585497600,
       "step": 0
      }, {
       "timestamp": 1585584000,
       "step": 0
      }, {
       "timestamp": 1585670400,
       "step": 0
      }, {
       "timestamp": 1585756800,
       "step": 0
      }, {
       "timestamp": 1585843200,
       "step": 0
      }, {
       "timestamp": 1585929600,
       "step": 0
      }, {
       "timestamp": 1586016000,
       "step": 0
      }, {
       "timestamp": 1586102400,
       "step": 0
      }, {
       "timestamp": 1586188800,
       "step": 0
      }, {
       "timestamp": 1586275200,
       "step": 0
      }, {
       "timestamp": 1586361600,
       "step": 0
      }, {
       "timestamp": 1586448000,
       "step": 0
      }, {
       "timestamp": 1586534400,
       "step": 0
      }, {
       "timestamp": 1586620800,
       "step": 0
      }, {
       "timestamp": 1586707200,
       "step": 0
      }, {
       "timestamp": 1586793600,
       "step": 1638
      }, {
       "timestamp": 1586880000,
       "step": 945
      }, {
       "timestamp": 1586966400,
       "step": 2227
      }, {
       "timestamp": 1587052800,
       "step": 597
      }], "watermark": {
       "timestamp": 1587092887,
       "appid": "wxfb6ee31bb7b92323"
      }
      }
      2020-04-17
      回复
    • 疯狂的小辣椒
      疯狂的小辣椒
      2020-04-17回复雪峰
      有没有检查后端返回的数据
      2020-04-17
      回复
    • wyh
      wyh
      2022-01-26回复疯狂的小辣椒
      这个有解决方法不?官网php的demo,解出来就是这样的
      2022-01-26
      回复
登录 后发表内容
问题标签