1 Star 0 Fork 160

hm-ssy / weixin-java-mp-demo-springboot

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

本Demo基于Spring Boot构建,实现微信公众号开发功能。

本项目为weixin-java-tools的Demo演示程序,更多Demo请查阅:https://github.com/Wechat-Group/weixin-java-tools

Build Status

使用步骤:

  1. 配置:复制/src/main/resources/application.yml.template 生成application.yml文件,根据自己需要填写相关配置(需要注意的是:yml文件内的属性冒号后面的文字之前需要加空格,可参考已有配置,否则属性会设置不成功);
  2. 运行Java程序:com.github.binarywang.demo.wechat.WxMpDemoApplication
  3. 打开shell或cmd,进入ngrok目录,运行 ngrok -config ngrok.cfg -subdomain my-domain 8080 如果运行失败,请更换my-domain为其它字符串,直至连接成功;
  4. 配置微信公众号中的接口地址:http://my-domain.tunnel.qydev.com/wechat/portal (注意my-domain要跟上面的一致,需要符合微信官方的要求);
  5. 根据自己需要修改各个handler的实现,加入自己的业务逻辑。

Empty file

About

微信公众号demo,使用weixin-java-tools,基于Spring Boot expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/hm-ssy/weixin-java-mp-demo-springboot.git
git@gitee.com:hm-ssy/weixin-java-mp-demo-springboot.git
hm-ssy
weixin-java-mp-demo-springboot
weixin-java-mp-demo-springboot
master

Search