|
@@ -82,7 +82,7 @@ public class LocalSysFileServiceImpl implements ISysFileService
|
|
|
@Override
|
|
|
public List<String> uploadFile(MultipartFile file) throws Exception {
|
|
|
String name = FileUploadUtils.upload(localFilePath, file, maxSize);
|
|
|
- String absolutePath = localFilePath + "\\" + name;
|
|
|
+ String absolutePath = localFilePath + name;
|
|
|
String staticUrl = domain + localFilePrefix + name;
|
|
|
LOGGER.info("上传静态路径路径为: {}, 绝对路径为: {}, 原文件名称: {}", staticUrl, absolutePath, file.getOriginalFilename());
|
|
|
return Lists.newArrayList(staticUrl, absolutePath, file.getOriginalFilename());
|