上传仅使用minio

This commit is contained in:
none
2023-02-28 17:48:41 +08:00
parent f46f319428
commit 26a26c52c2
8 changed files with 105 additions and 76 deletions

View File

@@ -163,4 +163,9 @@ public class HelperUtil {
return mapper.writerWithDefaultPrettyPrinter().writeValueAsString(obj);
}
public static String fileExt(String filename) {
String[] array = filename.split("\\.");
return array[array.length - 1].toLowerCase();
}
}