From 6cefd722cdb586e252a80f2c04f2b8776c62abb3 Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Thu, 19 Dec 2024 16:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../support/fastjson2/serializer/MinioPrefixSerializer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/serializer/MinioPrefixSerializer.java b/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/serializer/MinioPrefixSerializer.java index 5487958..83bc2a5 100644 --- a/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/serializer/MinioPrefixSerializer.java +++ b/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/serializer/MinioPrefixSerializer.java @@ -26,5 +26,6 @@ public class MinioPrefixSerializer implements ObjectWriter { if (object instanceof String path && StrUtil.isNotEmpty(path)) { jsonWriter.writeString(minioPrefix + object); } + jsonWriter.writeNull(); } }