http://www.cnblogs.com/txw1958/p/weixin71-oauth20.html
http://www.cnblogs.com/txw1958/p/4142378.html
写的很不错。