Giter Club home page Giter Club logo

Comments (8)

bankroft avatar bankroft commented on July 22, 2024

handle_reveive_msg处理接收到的sharing类型消息,将其中的内容(题目和回答)放入message,其他的代码你可以看看wxpy文档就清楚了

from fefs.

huanghaozi avatar huanghaozi commented on July 22, 2024

哦,这样啊,我发现控制台里打印不出二维码,现在正尝试去掉console=1

from fefs.

huanghaozi avatar huanghaozi commented on July 22, 2024

貌似还是一样调不出二维码...

from fefs.

bankroft avatar bankroft commented on July 22, 2024

需要在config.ini中配置微信公众号名称才会调用那段代码

from fefs.

huanghaozi avatar huanghaozi commented on July 22, 2024

嗯,加到config.ini里了,单引号括起来的
有什么方法能改成TEXT类型的消息处理吗
或者能不能把TEXT转成sharing的再直接调代码...

from fefs.

huanghaozi avatar huanghaozi commented on July 22, 2024

我不太熟悉python...刚刚看了下wxpy的文档,试着学了几行代码...看不太懂那个sharing类型消息的结构...

from fefs.

bankroft avatar bankroft commented on July 22, 2024

sharing类型消息是一段格式固定xml,如果改成text类型,文本内容太过丰富处理起来比较麻烦

from fefs.

huanghaozi avatar huanghaozi commented on July 22, 2024

哦,原来如此,我发现公众号里的回复格式是固定的,应该能转成xml
这样就可以直接套用了,知识我不知道这个xml的格式
我看了下源码,这个xml是不是包含titile和answer两部分?

from fefs.

Related Issues (2)

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.