|
@@ -11,7 +11,7 @@ public class OssFileUtil {
|
|
|
|
|
|
public static final String tempBasePath = "download/temp/";
|
|
|
|
|
|
- private String getUploadTempFileKey(String prefix, String extName){
|
|
|
+ public static String getUploadTempFileKey(String prefix, String extName){
|
|
|
String fileName = StrUtil.isNotEmpty(prefix) ? prefix : UUID.randomUUID().toString();
|
|
|
if(StrUtil.isNotEmpty(extName)){
|
|
|
fileName += "." + extName;
|