优化配置文件
This commit is contained in:
parent
b75db00cc4
commit
64b2ff1202
|
@ -44,7 +44,7 @@ public class FastExceptionHandler {
|
|||
|
||||
@ExceptionHandler(Exception.class)
|
||||
public Result<String> handleException(Exception ex){
|
||||
|
||||
log.error(ex.getMessage(), ex);
|
||||
return Result.error(ErrorCode.INTERNAL_SERVER_ERROR);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@ spring:
|
|||
multipart:
|
||||
max-file-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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user