Giter Club home page Giter Club logo

Comments (4)

ktmud avatar ktmud commented on July 19, 2024

Thank you. 发个PR如何?

On Wednesday, November 12, 2014, 张朝 [email protected] wrote:

https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1413446944&version=15&lang=zh_CN
根据微信最新的策略,如果设置了noReply=true或者回复内容为空串时,res.body应该为空。
否则一直会出现“该公众号暂时无法提供服务,请稍后再试”。
对wechat-mp做如下修改后测试正常。
`
/**

  • dump reply as xml string */ Wechat.dump = function(reply) { if
    (reply.content === '') { return ''; } return mp_xml.build(reply); } `


Reply to this email directly or view it on GitHub
#79.

Best Regards,
Jesse Yang

from weixin-robot.

cosmo2097 avatar cosmo2097 commented on July 19, 2024

OK,已经PR到wechat-mp项目。

from weixin-robot.

ktmud avatar ktmud commented on July 19, 2024

node-webot/wechat-mp#8

from weixin-robot.

limsgithub avatar limsgithub commented on July 19, 2024

如果设置了noReply=true或者回复内容为空串时,res.body应该为空。
否则一直会出现“该公众号暂时无法提供服务,请稍后再试”。

请问下这是在哪里设置的啊???

from weixin-robot.

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.