This commit is contained in:
dinggang 2022-07-14 11:51:31 +08:00
parent 2bdc46db62
commit e3f451b375
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,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 + fileName;
+ ":" + request.getServerPort() + context_path + "/devModelFile/" + type + File.separator + fileName;
return filePath;
} catch (IOException e) {
logger.info("----------------------------------文件上传失败--------------------------------------");