全局异常优化

This commit is contained in:
KilLze
2026-01-02 11:09:12 +08:00
parent 8a6e44e1cb
commit 61d100fac0
3 changed files with 19 additions and 3 deletions

View File

@@ -2,6 +2,11 @@ server:
port: 8080
spring:
mvc:
throw-exception-if-no-handler-found: true
web:
resources:
add-mappings: false
datasource:
url: jdbc:mysql://110.42.41.177:3306/dating?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: root