이미지 경로 수정
This commit is contained in:
parent
2fd6ddf387
commit
b941b30271
|
|
@ -70,7 +70,7 @@ public class UserProfileController {
|
||||||
String baseFolder = SERVER_URL_IMG;
|
String baseFolder = SERVER_URL_IMG;
|
||||||
String baseMiddleFolder = "/img";
|
String baseMiddleFolder = "/img";
|
||||||
String saveFolder = baseFolder + baseMiddleFolder;
|
String saveFolder = baseFolder + baseMiddleFolder;
|
||||||
String dbSavePath = baseMiddleFolder + "/" + uuid + fileExtName;
|
String dbSavePath = "/profile" + baseMiddleFolder + "/" + uuid + fileExtName;
|
||||||
String saveFullFilePath = saveFolder + "/" + uuid + fileExtName;
|
String saveFullFilePath = saveFolder + "/" + uuid + fileExtName;
|
||||||
|
|
||||||
// 입력된 내용 파일로 쓰기
|
// 입력된 내용 파일로 쓰기
|
||||||
|
|
@ -79,7 +79,7 @@ public class UserProfileController {
|
||||||
if (!folder.exists()) {
|
if (!folder.exists()) {
|
||||||
try {
|
try {
|
||||||
folder.mkdir(); // 폴더 생성합니다.
|
folder.mkdir(); // 폴더 생성합니다.
|
||||||
System.out.println(saveFolder + " SUCCESS");
|
System.out.println(saveFolder + " folder create OK");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.getStackTrace();
|
e.getStackTrace();
|
||||||
}
|
}
|
||||||
|
|
@ -88,7 +88,7 @@ public class UserProfileController {
|
||||||
}
|
}
|
||||||
|
|
||||||
File file = new File(saveFullFilePath);
|
File file = new File(saveFullFilePath);
|
||||||
System.out.println("saved temp dir excel download file : " + saveFullFilePath);
|
System.out.println("saved file : " + saveFullFilePath);
|
||||||
FileOutputStream fos = null;
|
FileOutputStream fos = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue