Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-14 14:45:05 +08:00
commit 0cdc4b50a1
1 changed files with 1 additions and 3 deletions

View File

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