aiobcallback/src/main/resources/application.yml

34 lines
866 B
YAML
Raw Normal View History

2025-12-24 14:56:35 +08:00
spring:
application:
2025-12-24 14:57:26 +08:00
name: aiobcallback
2025-12-24 14:56:35 +08:00
profiles:
active: dev
main:
allow-bean-definition-overriding: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: non_null
deserialization:
fail_on_unknown_properties: false
parser:
# 允许出现特殊字符和转义符
allow_unquoted_control_chars: true
#允许出现单引号
allow_single_quotes: true
serialization:
fail-on-empty-beans: false
mapper:
# 支持类型转换
allow-coercion-of-scalars: true
server:
port: 8101
servlet:
# 应用的访问路径
context-path: /
# 启用服务端压缩
compression:
enabled: true
min-response-size: 10
mime-types: application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css