测试:/hellox?name=
测试用户:userName: admin passwd: admin
验证码:/login/checkcode
登录:/login?userName=&passwd=&code=
测试:/hellox?name=
测试:/export
运行时配置:META-INF/services/org.windwant.spring.core.spi.Calc
16. 使用druid数据源连接池;配置druid数据源监控:http://localhost:8081/druid/index.html
测试表:
stu:
CREATE TABLE `stu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
score:
CREATE TABLE `score` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`stu_id` int(11) NOT NULL,
`item` varchar(255) DEFAULT NULL,
`score` double(15,0) DEFAULT NULL,
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
测试:/stu/1 /score/1
springboot 中间件