package com.controller.admin; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import com.service.admin.AdminTypeService; @Controller @RequestMapping("/adminType") public class AdminTypeController extends BaseController{ @Autowired private AdminTypeService adminTypeService; /** * 到添加类型页面 */ @RequestMapping("/toAddType") public String toAddType(Model model) { return adminTypeService.toAddType(model); } /** * 添加类型 */ @RequestMapping("/addType") public String addType(String typename,Model model,HttpSession session) { return adminTypeService.addType(typename, model, session); } /** *到删除页面 */ @RequestMapping("/toDeleteType") public String toDeleteType(Model model) { return adminTypeService.toDeleteType(model); } /** * 删除类型 */ @RequestMapping("/deleteType") public String deleteType(Integer id,Model model) { return adminTypeService.deleteType(id, model); } }

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日