Giter Site home page Giter Site logo

Comments (5)

ttttupup avatar ttttupup commented on June 4, 2024

把文件正常下载下来就可以了

from wxhelper.

SwaggyMacro avatar SwaggyMacro commented on June 4, 2024

先是调用的downloadAttach下载图片,然后等待图片下载完成后才去进行图片解码,最后再转发的图片,但有时候还是会漏一张或者下载以及解码均正常,但转发消息出来是.dat,并且无法正常打开

转发消息结果
image

日志
image

.dat文件
image

from wxhelper.

SwaggyMacro avatar SwaggyMacro commented on June 4, 2024

先是调用的downloadAttach下载图片,然后等待图片下载完成后才去进行图片解码,最后再转发的图片,但有时候还是会漏一张或者下载以及解码均正常,但转发消息出来是.dat,并且无法正常打开

漏转发的图片消息去客户端上点开查看 提示 图片过期或已被清理
image

from wxhelper.

SwaggyMacro avatar SwaggyMacro commented on June 4, 2024

测试发现 如果不调用downloadAttach下载图片也不调用decodeImage而是采用手动点击下载的话就不会有这些问题 可以正常转发消息 @ttttupup

from wxhelper.

ttttupup avatar ttttupup commented on June 4, 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.