Giter VIP home page Giter VIP logo

Comments (6)

vincentlin7 avatar vincentlin7 commented on May 27, 2024

还没有下载完,间隔一段时间再post

from wxhelper.

drag0n-app avatar drag0n-app commented on May 27, 2024

还没有下载完,间隔一段时间再post

我每次暂停2s,循环100次post接口,还是下载不成功

from wxhelper.

ttttupup avatar ttttupup commented on May 27, 2024

这个msgid应该是错的,注意一下精度问题。

from wxhelper.

drag0n-app avatar drag0n-app commented on May 27, 2024

这个msgid应该是错的,注意一下精度问题。

是这个原因,谢谢提醒!
BTW:code等于0成功,不是文档说的大于0成功

from wxhelper.

Ostaer avatar Ostaer commented on May 27, 2024

我抓了一条数据,
1、hook返回的msgId是76659428408562600
2、本地库里查到的是 76659428408562587
用1调用下载接口返回失败{"code":-2,"result":"OK"}
用2调用下载接口返回成功{"code":0,"result":"OK"}
这俩值很相近,很像四舍五入的。。

from wxhelper.

ttttupup avatar ttttupup commented on May 27, 2024

浮点数精度问题

from wxhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.