From 2bdc46db62491ccc54d7f0b6073666801b749b07 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Thu, 14 Jul 2022 11:50:45 +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 b1f04d39..c8b314b4 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 @@ -87,7 +87,7 @@ public class DevelopmentGuideServiceImpl implements DevelopmentGuideService { logger.info("----------------------------------文件上传成功--------------------------------------"); String filePath = request.getScheme() + "://" + root_url + ":" + request.getServerPort() + context_path + "/devModelFile/" + type + fileName; - return folder.getPath(); + return filePath; } catch (IOException e) { logger.info("----------------------------------文件上传失败--------------------------------------"); logger.info("异常描述" + e.getMessage());