代码提交
This commit is contained in:
parent
a5fe88db37
commit
90b506b7ec
|
@ -25,7 +25,8 @@ public class MinioPrefixSerializer implements ObjectWriter<String> {
|
|||
public void write(JSONWriter jsonWriter, Object object, Object fieldName, Type fieldType, long features) {
|
||||
if (object instanceof String path && StrUtil.isNotEmpty(path)) {
|
||||
jsonWriter.writeString(minioPrefix + object);
|
||||
}
|
||||
} else {
|
||||
jsonWriter.writeString("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue