From b595f69240657ba872368e66ef7bc719acbc149c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 26 Apr 2024 20:46:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20API=E6=88=90=E6=89=B9=E5=88=86=E9=85=8D?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/backend/src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/backend/src/main/resources/application.properties b/core/backend/src/main/resources/application.properties index 866b9e1adb..86dbd06b8c 100644 --- a/core/backend/src/main/resources/application.properties +++ b/core/backend/src/main/resources/application.properties @@ -1,6 +1,9 @@ spring.profiles.active=@profiles.active@ spring.application.name=dataease server.port=8081 + +spring.jackson.serialization.fail-on-empty-beans=true +spring.jackson.deserialization.fail-on-unknown-properties=true # Hikari spring.datasource.type=com.zaxxer.hikari.HikariDataSource spring.datasource.hikari.minimum-idle=5