projectSer.deletePro(id);
return "redirect:/admin/project/1";
}
@ResponseBody
@GetMapping("/pro.json")
<BUG>public Project getProJson(HttpServletRequest request){
</BUG>
String idStr=request.getParameter("id");
return projectSer.getProById(idStr);
}

projectSer.deletePro(id);
return "redirect:/admin/project/1";
}
@ResponseBody
@GetMapping("/pro.json")
public Project getProJson(HttpServletRequest request) throws RuntimeException{
String idStr=request.getParameter("id");
return projectSer.getProById(idStr);
}
