This commit is contained in:
dyhj625 2025-02-10 14:33:15 +09:00
parent d8c653618c
commit 2d0e4a9b5a

View File

@ -80,7 +80,7 @@ public class BoardController {
@ParameterCheck
@PostMapping
public ApiResponse<BigInteger> createBoard(@ReqMap MapDto map) {
Long userId = AuthUtil.getUser().getId();
//Long userId = AuthUtil.getUser().getId();
map.put("MEMBERSEQ", 22);
if (map.containsKey("LOCBRDPWD") && !map.getString("LOCBRDPWD").trim().isEmpty()) { // 체크
@ -143,7 +143,7 @@ public class BoardController {
@ParameterCheck
@PostMapping("/{CMNBRDSEQ}/attachments")
public ApiResponse<String> uploadAttachment(@ReqMap MapDto map) {
Long userId = AuthUtil.getUser().getId();
//Long userId = AuthUtil.getUser().getId();
map.put("CMNFLEREG", 22);
boardService.addAttachment(map);
return ApiResponse.ok("첨부파일이 저장되었습니다.");
@ -158,7 +158,7 @@ public class BoardController {
@ParameterCheck
@PostMapping("/{LOCBRDSEQ}/{LOCCMTSEQ}/reaction")
public ApiResponse<String> reactToBoard(@ReqMap MapDto map) {
Long userId = AuthUtil.getUser().getId();
//Long userId = AuthUtil.getUser().getId();
map.put("MEMBERSEQ", 22);
boardService.reactToBoard(map);
return ApiResponse.ok("반응이 성공적으로 처리되었습니다.");
@ -186,7 +186,7 @@ public class BoardController {
@ParameterCheck
@PostMapping("/{LOCBRDSEQ}/comment")
public ApiResponse<String> addCommentOrReply(@ReqMap MapDto map) {
Long userId = AuthUtil.getUser().getId();
//Long userId = AuthUtil.getUser().getId();
map.put("MEMBERSEQ", 22);
if (map.containsKey("LOCCMTPWD") && !map.getString("LOCCMTPWD").trim().isEmpty()) { // 체크