File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ This repository is a wechat springmvc demo based on **weixin-java-tools**
99
1010
1111
12- 本项目目前实现了如下功能:
12+ ## 本项目目前实现了如下功能:
1313
1414* 与微信服务器的AES加密通信
1515* 微信支付
@@ -21,11 +21,37 @@ This repository is a wechat springmvc demo based on **weixin-java-tools**
2121* 通过code获得基本用户信息
2222
2323
24-
2524Welcome to Pull Requests!
2625
2726欢迎大家积极Pull Requests来丰富此Demo的功能!
2827
28+ ## 快速使用:
29+
30+ ** 将项目下载到本地**
31+ ``` shell
32+ git clone https://github.com/wechat-group/weixin-java-tools-springmvc
33+ ```
34+
35+ ** 配置公众号信息**
36+
37+ 打开` src/main/resources/wx.properties ` 文件,配置公众号相关信息。
38+
39+ ** Maven打包**
40+ ``` shell
41+ mvn war:war
42+ ```
43+
44+ ** 上传至服务器**
45+
46+ 必须使用服务器的80端口才能与微信服务器进行交互。
47+
48+ ** 微信公众平台服务器配置**
49+
50+ 进入到** 微信公众平台** 的` 开发/基本配置 ` 页面,配置` URL(服务器地址) ` 、` Token(令牌) ` 、` EncodingAESKey(消息加解密密钥) ` 。
51+ ``` shell
52+ URL(服务器地址):http://192.168.1.1/wechatTestService/core
53+ ```
54+
2955## License
3056- 本项目的所有代码除另有说明外,均按照 [ MIT License] ( https://github.com/racaljk/hosts/blob/master/LICENSE ) 发布。
3157- 本项目的.java,README.MD,wiki等资源基于[ CC BY-NC-SA 4.0] ( https://creativecommons.org/licenses/by-nc-sa/4.0/ )
You can’t perform that action at this time.
0 commit comments