add controller test

main
PeterAlbus 3 years ago
parent 1b3785aaf7
commit a6631e60e1

@ -165,4 +165,10 @@ public class EarthquakeInfoController
return "fail"; return "fail";
} }
} }
@RequestMapping("/233")
public String test()
{
return "233";
}
} }

@ -1,26 +0,0 @@
server:
port: 8087
spring:
servlet:
multipart:
enabled: true
max-file-size: 100MB
max-request-size: 1000MB
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
datasource:
username: username
password: password
url: jdbc:mysql://47.117.160.245:3306/earthquake?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=Asia/Shanghai
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
pathmatch:
matching-strategy: ant_path_matcher
mybatis-plus:
mapper-locations: classpath:mapper/*Mapper.xml
type-aliases-package: com.peteralbus.entity
configuration:
map-underscore-to-camel-case: true
Loading…
Cancel
Save