Merge pull request #4 from bananaxzw/master

代码整理
事件处理
Merge pull request #5 from yuyepaoniu/master

event