...
This commit is contained in:
parent
2bdc46db62
commit
e3f451b375
|
@ -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("----------------------------------文件上传失败--------------------------------------");
|
||||
|
|
Loading…
Reference in New Issue