From bc44f875b263c430531d30a5efb751d3b5d44085 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Thu, 14 Jul 2022 15:19:34 +0800 Subject: [PATCH] ... --- .../service/impl/DevelopmentGuideServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/developmentGuide/service/impl/DevelopmentGuideServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/developmentGuide/service/impl/DevelopmentGuideServiceImpl.java index 5044c6c3..ec54f4df 100644 --- a/renren-admin/src/main/java/io/renren/modules/developmentGuide/service/impl/DevelopmentGuideServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/developmentGuide/service/impl/DevelopmentGuideServiceImpl.java @@ -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());