//上传到FDFS //获取后缀名 String extension = StringUtils.substringAfterLast(file.getOriginalFilename(),"."); StorePath storePath = fastFileStorageClient.uploadFile(file.getInputStream(), file.getSize(), extension, null); //返回路径 return prop.getBaseUrl()+storePath.getFullPath();
fastfdfs上传代码
猜你喜欢
转载自www.cnblogs.com/hashset/p/11294177.html
今日推荐
周排行