@@ -115,6 +115,20 @@ public class AdminController {
|
||||
|
||||
}
|
||||
|
||||
/* 상품 정보 삭제 */
|
||||
@PostMapping("/goodsDelete")
|
||||
public String goodsDeletePOST(int bookId, RedirectAttributes rttr) {
|
||||
|
||||
logger.info("goodsDeletePOST..........");
|
||||
|
||||
int result = adminService.goodsDelete(bookId);
|
||||
|
||||
rttr.addFlashAttribute("delete_result", result);
|
||||
|
||||
return "redirect:/admin/goodsManage";
|
||||
|
||||
}
|
||||
|
||||
/* 작가 등록 페이지 접속 */
|
||||
@RequestMapping(value = "authorEnroll", method = RequestMethod.GET)
|
||||
public void authorEnrollGET() throws Exception{
|
||||
|
||||
Reference in New Issue
Block a user