|
@@ -45,7 +45,7 @@ public class FileController extends BaseController {
|
|
String fileName = file.getOriginalFilename();
|
|
String fileName = file.getOriginalFilename();
|
|
String[] files = fileName.split("\\.");
|
|
String[] files = fileName.split("\\.");
|
|
fileName = System.currentTimeMillis() + "." + files[1];
|
|
fileName = System.currentTimeMillis() + "." + files[1];
|
|
- String path = request.getScheme() + "://" + request.getServerName() + ":" + "20018" + request.getContextPath() + "/";
|
|
|
|
|
|
+ String path = request.getScheme() + "://" + request.getServerName() + ":" + "19050" + request.getContextPath() + "/";
|
|
GetPicturePathOutData picturePath = fileService.createUploadPath(fileName);
|
|
GetPicturePathOutData picturePath = fileService.createUploadPath(fileName);
|
|
outData.setPath(picturePath.getServerPath());
|
|
outData.setPath(picturePath.getServerPath());
|
|
picturePath.setServerPath(path + picturePath.getServerPath());
|
|
picturePath.setServerPath(path + picturePath.getServerPath());
|