Git Product home page Git Product logo

flask-wechatpy's People

Contributors

cloverstd avatar kentxxq avatar messense avatar tennyzhuang avatar yutiansut avatar zengqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-wechatpy's Issues

安全加密模式下有2个bug

139行:current_app['WECHAT_AES_KEY'],应该是current_app.config['WECHAT_AES_KEY']
解密消息也有错:raw_msg = crypto.decrypt_message(
raw_msg,
signature,
timestamp,
nonce
)
不应该是signature,应该是msg_signature = request.args.get('msg_signature', '')
raw_msg = crypto.decrypt_message(
raw_msg,
msg_signature,
timestamp,
nonce
)

建议支持多号联动扩展

我遇到的情况:

开发订阅号后台时,因订阅号不支持网页授权功能,只好绕道用服务号实现网页登录授权。
flask-wechatpy 中使用 app.config 全局配置了 oauth 和 WechatPay 所需的服务号 appid。

要接收订阅号的文字、菜单等消息,就要单写一个服务,没法用 wechat 和 wechat_requeired。

貌似WeChatComponent没有封进去?

我也在用flask,刚刚在使用wechatpy,不过没有像博主一样做成插件。
发现你这样挺好用的,也看了你的博客,也用docker部署。

希望多交流,碰到问题再向你请教,谢谢

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.