wechat-sdk
WeChat JAVA SDK implements the encapsulation of the ecological HTTP interface provided by WeChat. This project mainly refers to weixin-popular for implementation. It has good structure, simple implementation, and strong scalability. It can be used out of the box or the corresponding implementation can be customized. Able to meet different levels of development needs.
Currently, only some basic SDKs for WeChat have been implemented. Classified according to WeChat public platform interface documents. Corresponding to the use of API, you can view the test code of the project.
Implemented functions:
- Custom menu[√]
- Message management[√]
- WeChat web development (web page authorization) [√]
- Material management [√]
- Graphic and text message message management [√]
- User management[√]
- Account management[√]
- Statistics[√]
- New version of customer service function[√]
- WeChat third-party platform [√]
- WeChat store[√]
- WeChat coupons[√]
Unimplemented features:
- WeChat shake peripherals[x]
- WeChat store[x]
- Semantic understanding[x]
- WeChat connected to WI-FI[x]
- Scan on WeChat[x]
- WeChat device functions[x]
- WeChat invoice[x]
Project dependencies:
- jackson (optional, the default serialization tool class depends on jsckson. The corresponding serialization interface can be customized)
- slf4j (for logging)
- httpcomponents (optional, the default HTTP request tool class depends on httpcomponents. The corresponding HTTP request interface can be customized)
- junit (for testing)
- lombok (convenient development, provided)
maven
<dependency>
<groupId>com.github.vioao</groupId>
<artifactId>wechat-sdk</artifactId>
<version>1.1.0</version>
</dependency>
The overall project is basically usable and is still being improved...
Change log
2018-02-28
Done:
Improve the implementation of the following functional modules:
- WeChat store function
- WeChat card and coupon function
2018-03-11
Done:
Third-party platform management of mini programs:
- Mini program server domain name settings
- Mini program member management
- Mini program WeChat login
- Mini program basic information settings
- WeChat open platform account management
ToDo:
Management of mini programs by third-party platforms
- Code management
- Mini program template library management
- Mini program code template library management
2018-03-24
Done:
Third-party platform management of mini programs:
- Mini program code management
- Mini program code template library management
- Mini program template settings
- Mini program plug-in management permission set
Release version 1.1.0
- This version mainly improves the interface support related to third-party platforms. You can easily implement your own third-party platform based on wechat-sdk. Manage mini programs and public accounts under the platform.
ToDo:
Third-party platform related:
- Strong authorization of cards and coupons
- WeChat advertising interface
Official account related:
- WeChat shake peripherals
- WeChat store
- semantic understanding
- WeChat connected to WI-FI
- Scan on WeChat
- WeChat device functions
- WeChat invoice