# weixin-java-mp-demo-springboot **Repository Path**: hhhh1111/weixin-java-mp-demo-springboot ## Basic Information - **Project Name**: weixin-java-mp-demo-springboot - **Description**: 微信公众号demo,使用weixin-java-tools,基于Spring Boot - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 210 - **Created**: 2018-01-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 本Demo基于Spring Boot构建,实现微信公众号开发功能。 ### 本项目为weixin-java-tools的Demo演示程序,更多Demo请查阅:https://github.com/Wechat-Group/weixin-java-tools [![Build Status](https://travis-ci.org/Wechat-Group/weixin-java-mp-demo-springboot.svg?branch=master)](https://travis-ci.org/Wechat-Group/weixin-java-mp-demo-springboot) ----------------------- ## 使用步骤: 1. 配置:复制`/src/main/resources/application.yml.template` 生成application.yml文件,根据自己需要填写相关配置(需要注意的是:yml文件内的属性冒号后面的文字之前需要加空格,可参考已有配置,否则属性会设置不成功); 1. 运行Java程序:`com.github.binarywang.demo.wechat.WxMpDemoApplication`; 1. 打开shell或cmd,进入ngrok目录,运行 `ngrok http 8080`; 1. 配置微信公众号中的接口地址:http://xxx.ngrok.io/wechat/portal; 1. 根据自己需要修改各个handler的实现,加入自己的业务逻辑。