add middlewares
Merge pull request #1 from coderhaoxin/master

add middlewares