开发环境: IntelliJ IDEA+ JDK1.8
- Maven构建SpringMVC基础架构
#文档
http://mvnrepository.com/
http://search.maven.org/
http://projects.spring.io/spring-framework/
http://docs.spring.io/spring/docs/4.0.5.RELEASE/spring-framework-reference/html/spring-web.html
http://mybatis.github.io/spring/zh/index.html
https://github.com/alibaba/druid
http://quartz-scheduler.org/documentation
http://ehcache.org/documentation/get-started
https://java.net/downloads/oscache/
http://www.mapdb.org/doc/cheatsheet.pdf http://www.mapdb.org/02-getting-started.html
http://logback.qos.ch/manual/index.html
http://git.oschina.net/pyinjava/fastweixin
##测试 OAuth2 ###获得授权码 http://localhost:8080/oauth2/authorize?client_id=fbed1d1b4b1449daa4bc49397cbe2350&response_type=code&redirect_uri=http://localhost:8080/oauth2/login ###获得令牌 注意:需要设置HTTP头 Content-Type:application/x-www-form-urlencoded 与 请求方式 POST http://localhost:8080/oauth2/access_token?client_id=fbed1d1b4b1449daa4bc49397cbe2350&client_secret=fbed1d1b4b1449daa4bc49397cbe2350&grant_type=authorization_code&redirect_uri=http://localhost:8080&code={code}
###使用客户端代码测试 确保程序8080端口运行后访问 http://localhost:8080/oauth2/client