java实现微信公众号源码-weixin-java-mp-multi-demo:微信公众号demo,基于WxJava和SpringMVC框架实

上传者: 38539053 | 上传时间: 2022-05-29 13:56:06 | 文件大小: 35KB | 文件类型: ZIP
java实现微信公众号源码 本项目为WxJava的Demo演示程序 已不建议使用本项目中展示的方式实现多公众号支持,可以参考 springboot的实现: , 更多其他类型的Demo请查阅: 本Demo使用Spring MVC 框架实现微信公众号开发功能,支持多公众号。 如果想使用更多公众号,请复制相关配置文件,修改spring配置文件添加相应配置,同时还需要增加相应的controller和service,具体可以参考已有源码进行操作。 如果只是使用一个公众号,建议使用另外的项目: 或者 。 使用步骤: 配置: 复制/src/main/resources/wx-gzh1.properties.template 生成wx-gzh1.properties 文件,填写相关配置; 复制/src/main/resources/wx-gzh2.properties.template 生成wx-gzh2.properties 文件,填写相关配置。 使用maven运行demo程序: mvn jetty:run 或者自己打 war包发布到tomcat运行; 配置微信公众号中的接口地址: 或 (注意XXX

文件下载

资源详情

[{"title":"( 44 个子文件 35KB ) java实现微信公众号源码-weixin-java-mp-multi-demo:微信公众号demo,基于WxJava和SpringMVC框架实","children":[{"title":"weixin-java-mp-multi-demo-master","children":[{"title":"src","children":[{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resources","children":[{"title":"spring-servlet-common.xml <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"wx-gzh2.properties.template <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"spring-service-bean.xml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"wx-gzh1.properties.template <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 40B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"binarywang","children":[{"title":"demo","children":[{"title":"wx","children":[{"title":"mp","children":[{"title":"service","children":[{"title":"BaseWxService.java <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"Gzh2WxService.java <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Gzh1WxService.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"aop","children":[{"title":"ControllerLogAspect.java <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"dto","children":[{"title":"WxMenuKey.java <span style='color:#111;'> 771B </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"AbstractWxPortalController.java <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"Gzh2WxPortalController.java <span style='color:#111;'> 735B </span>","children":null,"spread":false},{"title":"Gzh1WxPortalController.java <span style='color:#111;'> 735B </span>","children":null,"spread":false}],"spread":false},{"title":"builder","children":[{"title":"ImageBuilder.java <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"AbstractBuilder.java <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"TextBuilder.java <span style='color:#111;'> 730B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"WxAccountEnum.java <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"WxConfig.java <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"WxGzh2Config.java <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"WxGzh1Config.java <span style='color:#111;'> 964B </span>","children":null,"spread":false}],"spread":false},{"title":"handler","children":[{"title":"gzh1","children":[{"title":"Gzh1MsgHandler.java <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"Gzh1SubscribeHandler.java <span style='color:#111;'> 803B </span>","children":null,"spread":false},{"title":"Gzh1MenuHandler.java <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"Gzh1UnSubscribeHandler.java <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"Gzh1LocationHandler.java <span style='color:#111;'> 570B </span>","children":null,"spread":false}],"spread":false},{"title":"NullHandler.java <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"KfSessionHandler.java <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"MenuHandler.java <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"SubscribeHandler.java <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"StoreCheckNotifyHandler.java <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"AbstractHandler.java <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"LocationHandler.java <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"ScanHandler.java <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"LogHandler.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"MsgHandler.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"UnsubscribeHandler.java <span style='color:#111;'> 840B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 77B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明