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());