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