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));
|
uploadFile.transferTo(new File(path, fileName));
|
||||||
logger.info("----------------------------------文件上传成功--------------------------------------");
|
logger.info("----------------------------------文件上传成功--------------------------------------");
|
||||||
String filePath = request.getScheme() + "://" + root_url
|
return File.separator + type + File.separator + fileName;
|
||||||
+ ":" + request.getServerPort() + context_path + "/devModelFile/" + type + File.separator + fileName;
|
|
||||||
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