diff --git a/src/main/java/com/peteralbus/controller/EarthquakeInfoController.java b/src/main/java/com/peteralbus/controller/EarthquakeInfoController.java index 98d7ae4..d0605ed 100644 --- a/src/main/java/com/peteralbus/controller/EarthquakeInfoController.java +++ b/src/main/java/com/peteralbus/controller/EarthquakeInfoController.java @@ -165,4 +165,10 @@ public class EarthquakeInfoController return "fail"; } } + + @RequestMapping("/233") + public String test() + { + return "233"; + } } diff --git a/src/main/resources/application.yml.example b/src/main/resources/application.yml.example deleted file mode 100644 index 4355fcd..0000000 --- a/src/main/resources/application.yml.example +++ /dev/null @@ -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