@@ -15,7 +15,11 @@ mybatis-plus: | |||
map-underscore-to-camel-case: true | |||
use-generated-keys: true | |||
server: | |||
# 数据压缩 | |||
compression: | |||
# 开启压缩 | |||
enabled: true | |||
# 数据格式 | |||
mime-types: application/json | |||
min-response-size: 1024 | |||
# 超过200KB进行压缩 | |||
min-response-size: 200 |