10 Star 48 Fork 48

Binary Wang / weixin-java-open-demo

Create your Gitee Account
Explore and code with more than 8 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.MD

本Demo基于Spring Boot构建,实现微信第三方平台开发功能。

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

码云Gitee Github Build Status

使用步骤:

  1. 新手遇到问题,请务必先阅读【开发文档首页】的常见问题部分,可以少走很多弯路,节省不少时间。如还有其他问题请【在此提问】,谢谢配合。
  2. 配置:修改/src/main/resources/application.yml ,根据自己需要填写相关配置(需要注意的是:yml文件内的属性冒号后面的文字之前需要加空格,可参考已有配置,否则属性会设置不成功);
  3. 运行Java程序:com.github.binarywang.demo.wechat.WxOpenDemoApplication
  4. 配置微信第三方平台中的授权事件接收URL:http://my-domain/notify/receive_ticket
  5. 配置微信第三方平台中的公众号消息与事件接收URL http://my-domain/notify/$APPID$/callback
  6. 首次启动后需要 等待收到 微信推送的 component_verify_ticket 后才可以使用接口 (在第三方平台创建审核通过后,微信服务器每隔10分钟会向第三方的消息接收地址推送一次component_verify_ticket,用于获取第三方平台接口调用凭据)
  7. 浏览器访问:http://my-domain/api/auth/goto_auth_url_show 点击 go 跳转到微信授权页面 扫码授权

About

微信开放平台的java demo expand collapse
Java
Cancel

Releases

No release

weixin-java-open-demo

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/binary/weixin-java-open-demo.git
git@gitee.com:binary/weixin-java-open-demo.git
binary
weixin-java-open-demo
weixin-java-open-demo
master

Search