Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-14 11:52:31 +08:00
commit 85750e766d
1 changed files with 2 additions and 2 deletions

View File

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