Skip to content

Commit

Permalink
完善readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yaphone committed Apr 29, 2017
1 parent 4884cd1 commit 5c971ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public class TulingRobot implements IMsgHandlerFace {

这个示例要讲起来就比较困难了,因为SpringMVC本身就是一个复杂的东西,先在这里挖个坑吧。其实在SpringMVC中集成与上面两个示例并没有太大的不同,我的个人博客是基于SpringMVC的,我已经将集成在这个项目里了,这样我就可以通过微信来更新我的博客了。详细的就不多说了,大家先看看这个项目结构吧。

![itchat4j集成在Blog项目中](http://oj5vdtyuu.bkt.clouddn.com/itchat4j%E9%9B%86%E6%88%90%E5%9C%A8blog%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BF%AE%E6%94%B9.jpg)
![itchat4j集成在Blog项目](http://oj5vdtyuu.bkt.clouddn.com/itchat4j%E9%9B%86%E6%88%90%E5%9C%A8blog%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BF%AE%E6%94%B9%E5%90%8E.jpg)

其中`MsgHandler`就是我处理微信消息的逻辑,略复杂,就不贴代码了。`WechatService`就是将`MsgHandler`“注入”到`Wechat`类中,与上面两个示例的作用是一样的,贴一下`WechatService`的代码:

Expand Down

0 comments on commit 5c971ec

Please sign in to comment.