Merge pull request #3 from red-s-bean/master

update 1022
Merge pull request #4 from red-s-bean/master

add middleware
Merge pull request #16 from Pengzw/master

Merge pull request #3 from red-s-bean/master