[Spring][쇼핑몰 프로젝트][46] 댓글 등록 - 2

https://kimvampa.tistory.com/289
This commit is contained in:
SeoJin Kim
2022-01-05 04:27:51 +09:00
parent 9f3f678682
commit f0325a019e
18 changed files with 821 additions and 10 deletions

View File

@@ -129,6 +129,16 @@ public class BookController {
return "/goodsDetail";
}
/* 리뷰 쓰기 */
@GetMapping("/replyEnroll/{memberId}")
public String replyEnrollWindowGET(@PathVariable("memberId")String memberId, int bookId, Model model) {
BookVO book = bookService.getBookIdName(bookId);
model.addAttribute("bookInfo", book);
model.addAttribute("memberId", memberId);
return "/replyEnroll";
}
}