diff --git a/src/main/java/io/company/localhost/controller/api/BoardController.java b/src/main/java/io/company/localhost/controller/api/BoardController.java index 99347f4..e7b3acf 100644 --- a/src/main/java/io/company/localhost/controller/api/BoardController.java +++ b/src/main/java/io/company/localhost/controller/api/BoardController.java @@ -159,16 +159,17 @@ public class BoardController { map.put("LOCBRDPWD", encodedPassword); } +// <--- 프론드 단에서 해줌 할필요 없음 삭제 ---> // LOCBRDCON 필드를 JSON 문자열로 변환 - ObjectMapper objectMapper = new ObjectMapper(); - if (map.containsKey("LOCBRDCON")) { - try { - String jsonContent = objectMapper.writeValueAsString(map.get("LOCBRDCON")); - map.put("LOCBRDCON", jsonContent); // JSON 문자열로 변환된 값 설정 - } catch (Exception e) { - throw new RuntimeException("Error serializing LOCBRDCON field", e); - } - } +// ObjectMapper objectMapper = new ObjectMapper(); +// if (map.containsKey("LOCBRDCON")) { +// try { +// String jsonContent = objectMapper.writeValueAsString(map.get("LOCBRDCON")); +// map.put("LOCBRDCON", jsonContent); // JSON 문자열로 변환된 값 설정 +// } catch (Exception e) { +// throw new RuntimeException("Error serializing LOCBRDCON field", e); +// } +// } //로그인 미개발 ->임시 map.put("MEMBERSEQ", 1);