From e1325d633579ba8d2b788e450c3361112be21814 Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Fri, 20 Dec 2024 09:15: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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 83bc2a5..1e6a48b 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,6 +26,6 @@ public class MinioPrefixSerializer implements ObjectWriter { if (object instanceof String path && StrUtil.isNotEmpty(path)) { jsonWriter.writeString(minioPrefix + object); } - jsonWriter.writeNull(); + jsonWriter.writeString(""); } }