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