JFinal Weixin 是基于 JFinal 的微信公众号极速 SDK,只需参考 Demo 代码即可进行极速开发。
1、WeixinConfig
通过 ApiConfig 提供 Weixin 公众平台所需的相关配置,并在configRoute 方法配置路由。
2、DemoController
DemoController 通过继承自 WeixinController 便拥有了接收消息和发送消息的便利方法。
3、ApiController
通过调用 MenuApi、UserApi 等 Api 的相关方法即可获取封装成 ApiResult 对象的结果,使用 render 系列方法即可快捷输出结果。
4、更多支持
请上JFinal Weixin 官方网站。
软件详情:http://www.jfinal.com/
下载地址:http://git.oschina.net/jfinal/jfinal_weixin
来自:开源中国社区

