This project is a Demo demonstration program of WxJava, built based on Spring Boot, which implements the back-end development function of WeChat mini program and supports multiple mini programs.
For more information, please check: https://github.com/Wechat-Group/WxJava
Usage steps:
- Please note that this demo adds lombok support when compiling to simplify the code. If you don’t know lombok, please learn the relevant knowledge first. For example, you can read this article ;
- In addition, if novices encounter problems, please be sure to read the FAQ section of [Development Documentation Home Page] first, which can avoid many detours and save a lot of time.
- Configuration: Copy
/src/main/resources/application.yml.template
or modify its extension to generate the application.yml
file, fill in the relevant configuration according to your own needs (note: the text after the colon in the yml file needs to be added before Space, you can refer to the existing configuration, otherwise the attribute setting will not be successful); - Run Java program:
WxMaDemoApplication
; - If you need to access the messaging service, please configure the message server address in the WeChat applet: http://domain name accessible from the external network/wx/portal/{appid} (note that {appid} must use the appid of the corresponding applet) Replacement), official document access guide: https://developers.weixin.qq.com/miniprogram/dev/framework/server-ability/message-push.html