收藏
回答

为什么获取的微信运动数据近一半的昨日步数为0

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 微信运动 客户端 6.5.3 2.0.0

- 当前 Bug 的表现

小程序正常登录、授权,然后获取微信运动,但有近一半的用户昨日步数为0。请问这是什么原因?


示例:

微信运动返回数据:

"sessionKey":"cUjxEu2WqjejeuktjOzhpQ==",

"iv":"32NUa4ZLOeIZrjVQLsw3yA==",

"encryptedData":"Oerrle/MWY6SaMKXZsjlwNpkuBK39XZVPuCO9KPV3nRB0Y9LfD7TYGXjV9VpQsXhdXF8FcKPKxOTDplB90JcpsfUvkqCYiBEQ2F/43+5adAR6sMVANNzypRyVPaSPuYi4g7kzmDVeIRxo+vPpP4Q4h3iRtgUq6HSaveKabug3aA34zYJ++/PvWyWrBUr2WiO7gQooE7Kfbl2++5CTSfnb2yy8Hozv+ViE3DTlszg1Ij03plFkIoLa7oUwvXzdMUV894XaQQ/a8A7u9EiQtCTYrD/nRPCXSbExYulTr1oVNtTXseG6HLV1ugSGsHeS9F1JrDcYg43kip5RjTUbO9LEGM1cUldpQo9Mq9u3s6SBuT7GCoePgMQxwBKiEpBN5A2psNItGgx8WmVuRxbEoTqNI3hrdddQs+/ax5fDxqYJB6bELRSl6GPvNjZuHIhXQIAUWN/0uLYHILwbxj1miREkJYGR6Wb7dYbSgj923nxgDBJ2F8YnM7ttmHomq4Cxyze2h9p/F7KtA3l1TIwp0pfNEyzJDC1aL/JADFD3mfBd9FaFUDemxSxrdfOXynhSs2MhMZ/CZs77lqTYs5YCXlqJoKuMsbMsLjIZvRhIGTpgYEgw5W9ZdiPZfBiiLfYeU9A1/Y+af2Xz6PMNbfAeN0PKXeF/Jr5OZDlIQt/YQ410AODBakGdUMuLasvfTulWFw5rINFIYNqnFbVF5NI3RckOi65pm1Cd0GLg7Ve2vFehmYQTGCa5ICUs/yfea+HZvcxji5dIKxP6EFXNrtoEIYEkBXeg5nqxbc5ha1qP0dGH0YcKzVf19FAENtF7WTpMCGfW3wJ5gHCg+SfqjelL7EtkxUgutsJxfJlL0Gx692Z2xsydy/Y58feQ84cScDS2/+CjqxBmlNxIaoj+9nmzCShLRpOblPe4NOnwOiSdJmO3IDsAvS5YmlPdiRaGGYo708X0/wdC149wuyclMTncRRBrrA8EC8GRbmpcKZ77w5MeB/VBJw5tQUdz0lhnMSx6Lapody1ASuUH/lIvvBWleo0zejvnsp0dh2mw9sE6hZScAVH0LNXLrRdIXcdgRr7Lh6yyGmzemPl/Kt5r7qxg+elUVlFeYfPnGwNE5ojuiVA58x/TjcYdM39AfiiFjTzTEJ3PglaPh3HFw0ZcMJdUL0+QgMeMkGAwfFE5tUKyFAZvez2iTofxLG1wHXnY08YDdfEftRf8WexBjjILaVqprPuvDuaaZI+dgRljAp+x9kDoRPdu5T58qtDwynEr2px+TkVqk5pg6mzUeUSGP3fSXD7JIATvy+sMEtAdnsaqlcnLiPNo+hGWK75lqUwd+xvT6DfDDjohoMWVMxLSaHvBFO/xjV1vnMyHqqwJBLDAFWGtbBManHY25ukONQvcq8UpN1xksnFi1jQ+qg7GZE038Ea7OcXQ/tHV43V/Y4mElnHOKmJLs15GcCExb3pEHtp9IKbLLhdUCAxublso4urFjYajTDh8siYOF1kpW5pcFag6v1q8sFnr7t+iTYyZ0uwkD4o"

解密后:

{"stepInfoList":[{"timestamp":1534694400,"step":0},{"timestamp":1534780800,"step":0},{"timestamp":1534867200,"step":0},{"timestamp":1534953600,"step":0},{"timestamp":1535040000,"step":0},{"timestamp":1535126400,"step":0},{"timestamp":1535212800,"step":0},{"timestamp":1535299200,"step":0},{"timestamp":1535385600,"step":0},{"timestamp":1535472000,"step":0},{"timestamp":1535558400,"step":0},{"timestamp":1535644800,"step":0},{"timestamp":1535731200,"step":0},{"timestamp":1535817600,"step":0},{"timestamp":1535904000,"step":0},{"timestamp":1535990400,"step":0},{"timestamp":1536076800,"step":0},{"timestamp":1536163200,"step":0},{"timestamp":1536249600,"step":0},{"timestamp":1536336000,"step":0},{"timestamp":1536422400,"step":0},{"timestamp":1536508800,"step":0},{"timestamp":1536595200,"step":0},{"timestamp":1536681600,"step":0},{"timestamp":1536768000,"step":0},{"timestamp":1536854400,"step":0},{"timestamp":1536940800,"step":0},{"timestamp":1537027200,"step":0},{"timestamp":1537113600,"step":0},{"timestamp":1537200000,"step":0},{"timestamp":1537286400,"step":0}],"watermark":{"timestamp":1537289643,"appid":"wxb6f6ae440e6c6d5b"}}



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

2 个回答

  • MT
    MT
    2018-12-03

    请问楼主, 解密之后没有出现乱码吗? 是使用的官方解密demo吗,哪种语言的

    2018-12-03
    有用
    回复
  • 灵芝
    灵芝
    2018-09-20

    你好,请确认用户是否开启微信运动功能

    2018-09-20
    有用
    回复 1
    • Shad
      Shad
      2018-09-21

      好的,我们也在怀疑是因为没有开户微信运动,只是比率太高了,有些奇怪

      2018-09-21
      回复
登录 后发表内容