package com.controller.admin; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import com.po.Notice; import com.service.admin.AdminNoticeService; @Controller @RequestMapping("/adminNotice") public class AdminNoticeController extends BaseController{ @Autowired private AdminNoticeService adminNoticeService; @RequestMapping("/toAddNotice") public String toAddNotice(Model model) { model.addAttribute("notice", new Notice()); return "admin/addNotice"; } @RequestMapping("/addNotice") public String addNotice(@ModelAttribute Notice notice) { return adminNoticeService.addNotice(notice); } @RequestMapping("/deleteNoticeSelect") public String deleteNoticeSelect(Model model) { return adminNoticeService.deleteNoticeSelect(model); } @RequestMapping("/selectANotice") public String selectANotice(Model model, Integer id) { return adminNoticeService.selectANotice(model, id); } @RequestMapping("/deleteNotice") public String deleteNotice(Integer id) { return adminNoticeService.deleteNotice(id); } }

taoshen95 LV16
2024年12月21日
lyt010628 LV4
2024年7月9日
ziwng5211314 LV8
2024年4月17日
xiongM LV4
2024年4月1日
mds123456 LV2
2023年11月5日
wuying8208 LV15
2023年9月3日
lilily1119 LV4
2023年4月28日
answer123 LV8
2023年3月28日
jgkghj LV2
2023年3月20日
xmx123 LV5
2023年2月26日

武诗雨 LV1
6月4日
renjunyou LV10
6月2日
SX520886 LV6
4月24日
li1213458
4月16日
暂无贡献等级
ClintClint LV1
3月31日
哪里的完整版 LV8
3月1日
meng123wei
1月6日
暂无贡献等级
xiaoaitx LV8
1月1日
微信网友_7310057461567488
2024年12月24日
暂无贡献等级
三秋桂子 LV1
2024年12月21日