GithubHelp home page GithubHelp logo

baaxl9vh / nest-wechat Goto Github PK

View Code? Open in Web Editor NEW
94.0 94.0 21.0 2.43 MB

NestJS module for WeChat server-side API.

Home Page: https://baaxl9vh.github.io/nest-wechat

License: MIT License

JavaScript 2.40% TypeScript 97.54% Shell 0.06%
nestjs typescript wechat

nest-wechat's People

Contributors

baaxl9vh avatar chenzheio 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

Watchers

 avatar  avatar  avatar  avatar

nest-wechat's Issues

关于编译报错问题

项目编译时报错,需要安装@types/qs,@types/cache-manager这两个包。请把这两个包加入devDependencies。

获取不限制的小程序码

作者你好,通过调用你的 getUnlimitedQRCode 方法,返回的是一个 buffer ,但是这里要转成 base64 或者 blob 会有问题,我直接使用 @nestjs/axios 提供的 HttpService 来发请求,在请求中添加了一个 responseEncoding 为 base64 的配置,返回的数据就是 base64 的数据流,能不能在 getUnlimitedQRCode 方法中添加一个可选的配置项,这样就可以直接将返回的数据转换为用户需要的格式了。
image

小程序中的access_token过期后,没有返回错误码

hi,作者你好,在开发中我们将access_token保存在redis中,当其它地方用到了该access_token后,redis中保存的access_token就过期了,当继续调用生成微信二维码的接口时,由于access_token过期了,导致生成二维码失败,官方的接口中给了错误时的返回数据,不过我看你这边好像是没有将错误时相关的数据暴露出来。
image
image
麻烦更新一下,谢谢!

没有获取公众号二维码的接口

你好,我没找到有获取公众号二维码的接口,只有小程序的,麻烦更新一下,带参数的公众号二维码生成接口。谢谢

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.