@RequestMapping(value = '/add',method = RequestMethod.POST) @ResponseBody public Map
maps.put('message', '100');} catch (Exception e) {// TODO: handle exception} return maps; }后端实体对象直接
@InitBinder public void initBinder(WebDataBinder binder){ DateFormat format = new SimpleDateFormat('yyyy-MM-dd'); binder.registerCustomEditor(Date.class, new CustomDateEditor(format,true)); }后端必须配置,springmvc 默认不会自动转换date
政府认证
质量保证
公司担保
@RequestMapping(value = '/delete',method = RequestMethod.POST) @ResponseBody public Map