优化配置文件

This commit is contained in:
阿沐 2022-05-01 23:20:13 +08:00
parent b75db00cc4
commit 64b2ff1202
2 changed files with 1 additions and 10 deletions

View File

@ -44,7 +44,7 @@ public class FastExceptionHandler {
@ExceptionHandler(Exception.class) @ExceptionHandler(Exception.class)
public Result<String> handleException(Exception ex){ public Result<String> handleException(Exception ex){
log.error(ex.getMessage(), ex);
return Result.error(ErrorCode.INTERNAL_SERVER_ERROR); return Result.error(ErrorCode.INTERNAL_SERVER_ERROR);
} }

View File

@ -20,15 +20,6 @@ spring:
multipart: multipart:
max-file-size: 1024MB max-file-size: 1024MB
max-request-size: 1024MB max-request-size: 1024MB
datasource:
druid:
filter:
slf4j:
enabled: true
statement-create-after-log-enabled: false
statement-close-after-log-enabled: false
result-set-open-after-log-enabled: false
result-set-close-after-log-enabled: false
mybatis-plus: mybatis-plus: