├── .gitignore ├── .travis.yml ├── README.md ├── pom.xml └── src └── main ├── java └── com │ ├── github │ └── binarywang │ │ └── demo │ │ └── spring │ │ ├── aop │ │ └── ControllerLogAspect.java │ │ ├── builder │ │ ├── AbstractBuilder.java │ │ ├── ImageBuilder.java │ │ └── TextBuilder.java │ │ ├── config │ │ └── WxMpConfig.java │ │ ├── controller │ │ ├── WxMenuController.java │ │ └── WxMpPortalController.java │ │ ├── dto │ │ └── WxMenuKey.java │ │ ├── handler │ │ ├── AbstractHandler.java │ │ ├── KfSessionHandler.java │ │ ├── LocationHandler.java │ │ ├── LogHandler.java │ │ ├── MenuHandler.java │ │ ├── MsgHandler.java │ │ ├── NullHandler.java │ │ ├── ScanHandler.java │ │ ├── StoreCheckNotifyHandler.java │ │ ├── SubscribeHandler.java │ │ └── UnsubscribeHandler.java │ │ └── service │ │ └── WeixinService.java │ └── srpgroup │ └── iot │ ├── mqtt │ └── config │ │ ├── Topic.java │ │ └── Wx2MqttConfig.java │ ├── service │ ├── Wx2MqttService.java │ └── WxIotDeviceService.java │ └── wx │ ├── bean │ ├── BothSyncResponse.java │ ├── TestBody.java │ ├── TestBody1.java │ ├── ToWxIotMsg.java │ ├── ToWxIotMsgAsyResponse.java │ ├── WxBaseMsg.java │ ├── WxIotBindUnbindMsg.java │ ├── WxIotMsg.java │ └── WxSyncResponseForNotifyMsg.java │ ├── controller │ ├── TestController.java │ └── WxIotPortalController.java │ └── handler │ ├── publisher │ ├── Publisher.java │ ├── UserBindOrUnbindPublisher.java │ ├── UserGetPublisher.java │ └── UserSetPublisher.java │ └── subscriber │ ├── DeviceAckBindSubscriber.java │ ├── DeviceAckGetSubscriber.java │ ├── DeviceAckSetSubscriber.java │ ├── DeviceAckUnbindSubscriber.java │ ├── DeviceNotifySubscriber.java │ └── Subcriber.java ├── resources ├── .gitignore ├── applicationContext.xml ├── log4j.properties ├── mqtt.properties.template ├── spring-service-bean.xml ├── spring-servlet-common.xml └── wx.properties.template └── webapp └── WEB-INF └── web.xml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/aop/ControllerLogAspect.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/aop/ControllerLogAspect.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/builder/AbstractBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/builder/AbstractBuilder.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/builder/ImageBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/builder/ImageBuilder.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/builder/TextBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/builder/TextBuilder.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/config/WxMpConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/config/WxMpConfig.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/controller/WxMenuController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/controller/WxMenuController.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/controller/WxMpPortalController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/controller/WxMpPortalController.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/dto/WxMenuKey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/dto/WxMenuKey.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/AbstractHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/AbstractHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/KfSessionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/KfSessionHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/LocationHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/LocationHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/LogHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/LogHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/MenuHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/MenuHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/MsgHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/MsgHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/NullHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/NullHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/ScanHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/ScanHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/StoreCheckNotifyHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/StoreCheckNotifyHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/SubscribeHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/SubscribeHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/handler/UnsubscribeHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/handler/UnsubscribeHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/binarywang/demo/spring/service/WeixinService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/github/binarywang/demo/spring/service/WeixinService.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/mqtt/config/Topic.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/mqtt/config/Topic.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/mqtt/config/Wx2MqttConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/mqtt/config/Wx2MqttConfig.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/service/Wx2MqttService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/service/Wx2MqttService.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/service/WxIotDeviceService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/service/WxIotDeviceService.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/BothSyncResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/BothSyncResponse.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/TestBody.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/TestBody.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/TestBody1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/TestBody1.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/ToWxIotMsg.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/ToWxIotMsg.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/ToWxIotMsgAsyResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/ToWxIotMsgAsyResponse.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/WxBaseMsg.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/WxBaseMsg.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/WxIotBindUnbindMsg.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/WxIotBindUnbindMsg.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/WxIotMsg.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/WxIotMsg.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/bean/WxSyncResponseForNotifyMsg.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/bean/WxSyncResponseForNotifyMsg.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/controller/TestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/controller/TestController.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/controller/WxIotPortalController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/controller/WxIotPortalController.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/publisher/Publisher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/publisher/Publisher.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/publisher/UserBindOrUnbindPublisher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/publisher/UserBindOrUnbindPublisher.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/publisher/UserGetPublisher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/publisher/UserGetPublisher.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/publisher/UserSetPublisher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/publisher/UserSetPublisher.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckBindSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckBindSubscriber.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckGetSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckGetSubscriber.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckSetSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckSetSubscriber.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckUnbindSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceAckUnbindSubscriber.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceNotifySubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/DeviceNotifySubscriber.java -------------------------------------------------------------------------------- /src/main/java/com/srpgroup/iot/wx/handler/subscriber/Subcriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/java/com/srpgroup/iot/wx/handler/subscriber/Subcriber.java -------------------------------------------------------------------------------- /src/main/resources/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/.gitignore -------------------------------------------------------------------------------- /src/main/resources/applicationContext.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/applicationContext.xml -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/log4j.properties -------------------------------------------------------------------------------- /src/main/resources/mqtt.properties.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/mqtt.properties.template -------------------------------------------------------------------------------- /src/main/resources/spring-service-bean.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/spring-service-bean.xml -------------------------------------------------------------------------------- /src/main/resources/spring-servlet-common.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/spring-servlet-common.xml -------------------------------------------------------------------------------- /src/main/resources/wx.properties.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/resources/wx.properties.template -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fightfa/weixin-java-mp-demo-springmvc/HEAD/src/main/webapp/WEB-INF/web.xml --------------------------------------------------------------------------------