사원id 임시사용 추가
This commit is contained in:
parent
e9a4cf1276
commit
165f9d7fd5
@ -73,6 +73,8 @@ public class BoardController {
|
||||
@ParameterCheck
|
||||
@PostMapping
|
||||
public ApiResponse<BigInteger> createBoard(@ReqMap MapDto map) {
|
||||
//임시
|
||||
map.put("MEMBERSEQ", 1);
|
||||
return ApiResponse.ok(boardService.createBoard(map));
|
||||
}
|
||||
|
||||
@ -139,6 +141,8 @@ public class BoardController {
|
||||
@ParameterCheck
|
||||
@PostMapping("/{LOCBRDSEQ}/{LOCCMTSEQ}/reaction")
|
||||
public ApiResponse<String> reactToBoard(@ReqMap MapDto map) {
|
||||
//임시
|
||||
map.put("MEMBERSEQ", 1);
|
||||
boardService.reactToBoard(map);
|
||||
return ApiResponse.ok("반응이 성공적으로 처리되었습니다.");
|
||||
}
|
||||
@ -165,6 +169,8 @@ public class BoardController {
|
||||
@ParameterCheck
|
||||
@PostMapping("/{LOCBRDSEQ}/comment")
|
||||
public ApiResponse<String> addCommentOrReply(@ReqMap MapDto map) {
|
||||
//임시
|
||||
map.put("MEMBERSEQ", 1);
|
||||
boardService.addCommentOrReply(map);
|
||||
return ApiResponse.ok("댓글 또는 대댓글이 작성되었습니다.");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user