This commit is contained in:
dinggang 2022-07-14 15:19:34 +08:00
parent 5ff1ab946f
commit bc44f875b2
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class DevelopmentGuideServiceImpl implements DevelopmentGuideService {
// 文件保存
uploadFile.transferTo(new File(path, fileName));
logger.info("----------------------------------文件上传成功--------------------------------------");
return File.separator + type + File.separator + fileName;
return type + File.separator + fileName;
} catch (IOException e) {
logger.info("----------------------------------文件上传失败--------------------------------------");
logger.info("异常描述" + e.getMessage());