- mysql
- jdk8
- gradle 4.x,推荐使用4.10
- spring boot 2.1.6.RELEASE
gradle bootJar
java -jar package-name.jar
- 建表语句在sql文件夹下,里面包含两条测试数据
- 当前只实现了异步的get&post请求,其他的有兴趣可以自己补充,在AsyncHandler中
- 配置见application.properties
请求路径:http://localhost:9099/test?test=ttt&test1=ttt2
{
"testText": "text",
"helloWorld": "hello world",
"testObj": {
"objText": "otext",
"objInt": 1,
"objObj": {
"innerData": "inner"
}
}
}