Merge branch 'master' into docker_package
This commit is contained in:
commit
0cdc4b50a1
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue