{"id":21452153,"url":"https://github.com/binarywang/weixin-java-mp-demo-springmvc","last_synced_at":"2025-04-05T03:13:00.156Z","repository":{"id":10047057,"uuid":"64209766","full_name":"binarywang/weixin-java-mp-demo-springmvc","owner":"binarywang","description":"基于Spring MVC 和 WxJava 实现的微信公众号Java后端Demo","archived":false,"fork":false,"pushed_at":"2024-03-18T20:34:14.000Z","size":158,"stargazers_count":293,"open_issues_count":5,"forks_count":235,"subscribers_count":41,"default_branch":"master","last_synced_at":"2024-04-14T05:31:16.943Z","etag":null,"topics":["wechat-demo","weixin","weixin-demo","weixin-java","weixin-mp"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binarywang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["binarywang"],"custom":"https://github.com/Wechat-Group/WxJava/blob/master/images/qrcodes/wepay.jpg?raw=true"}},"created_at":"2016-07-26T09:45:42.000Z","updated_at":"2024-03-31T14:18:08.000Z","dependencies_parsed_at":"2023-12-19T11:34:35.573Z","dependency_job_id":"6cacaf6c-2550-474e-81af-782e345253c4","html_url":"https://github.com/binarywang/weixin-java-mp-demo-springmvc","commit_stats":{"total_commits":151,"total_committers":6,"mean_commits":"25.166666666666668","dds":0.5033112582781457,"last_synced_commit":"5a24283f94b8c873cc8c9dc9c83dfef0bf8993c1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarywang%2Fweixin-java-mp-demo-springmvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarywang%2Fweixin-java-mp-demo-springmvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarywang%2Fweixin-java-mp-demo-springmvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarywang%2Fweixin-java-mp-demo-springmvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binarywang","download_url":"https://codeload.github.com/binarywang/weixin-java-mp-demo-springmvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wechat-demo","weixin","weixin-demo","weixin-java","weixin-mp"],"created_at":"2024-11-23T04:27:59.573Z","updated_at":"2025-04-05T03:13:00.140Z","avatar_url":"https://github.com/binarywang.png","language":"Java","readme":"[![码云Gitee](https://gitee.com/binary/weixin-java-mp-demo/badge/star.svg?theme=blue)](https://gitee.com/binary/weixin-java-mp-demo)\n[![Github](http://github-svg-buttons.herokuapp.com/star.svg?user=binarywang\u0026repo=weixin-java-mp-demo-springmvc\u0026style=flat\u0026background=1081C1)](https://github.com/binarywang/weixin-java-mp-demo-springmvc)\n[![Build Status](https://travis-ci.org/binarywang/weixin-java-mp-demo-springmvc.svg?branch=master)](https://travis-ci.org/binarywang/weixin-java-mp-demo-springmvc)\n\n### 本`Demo`使用`Spring MVC` 框架实现微信公众号开发功能。\n\n#### 本项目为`WxJava`的`Demo`演示程序，更多`Demo`请 [查阅此处](https://github.com/Wechat-Group/WxJava/blob/master/demo.md)。\n\n如果想支持多公众号，请参考`spring boot`版本的`demo`：https://github.com/binarywang/weixin-java-mp-demo-springboot\n\n## 使用步骤：\n1. 新手遇到问题，请务必先阅读[【开发文档首页】](https://github.com/Wechat-Group/WxJava/wiki)的常见问题部分，可以少走很多弯路，节省不少时间。\n1. 还有其他问题的，请 [到此](https://github.com/binarywang/weixin-java-mp-demo-springmvc/issues) 提问讨论；\n1. 配置: 复制 `/src/main/resources/wx.properties.template` 或者修改其扩展名生成 `wx.properties` 文件，填写相关配置;\t\t\n1. 使用`maven`运行`demo`程序: `mvn jetty:run`  或者自己打`war`包发布到`tomcat`运行；\n1. 配置微信公众号中的接口地址（微信公众平台 服务器配置 -\u003e 服务器地址(URL)）：http://xxx/wechat/portal （注意XXX需要是外网可访问的域名，需要符合微信官方的要求）；\n1. 根据自己需要修改各个`handler`的实现，加入自己的业务逻辑。\n\t\n","funding_links":["https://github.com/sponsors/binarywang","https://github.com/Wechat-Group/WxJava/blob/master/images/qrcodes/wepay.jpg?raw=true"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarywang%2Fweixin-java-mp-demo-springmvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarywang%2Fweixin-java-mp-demo-springmvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarywang%2Fweixin-java-mp-demo-springmvc/lists"}