Пример #1
0
 /**
  * @Title: add @Description: Ajax保存添加数据
  *
  * @param entity
  * @return JsonResult
  */
 @RequestMapping(value = "/add", method = RequestMethod.POST)
 public @ResponseBody JsonResult add(File entity) {
   return fileService.create(entity);
 }