Coder Social home page Coder Social logo

express_wechat_demo's Introduction

express_wechat_demo

express微信公众号开发:涉及微信公众号接入,Jssdk接入,用户信息获取。

1、微信测试号申请链接:

http://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login 扫描二维码进入:

2、内外网穿透用 natapp 将本地80端口映射出去

3、导入项目

3.1 修改config.json中的"token": "appID": "appScrect",为自己公众测试号中的信息。
3.2 修改菜单中两个url链接,为自己的natapp的链接。

4、启动express项目,在微信公众号中设置接口配置信息修改、JS接口安全域名修改、JS接口安全域名修改(列表中)总共三个地方,注意ls接口安全域名不需要填http://

5、扫描微信公众号就可以查看效果。

express_wechat_demo's People

Contributors

dpc761218914 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tayun

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.