Exemplo n.º 1
0
 /**
  * 删除文件
  *
  * @param fileId
  */
 @RequestMapping("deleteFile")
 public @ResponseBody Map<String, String> deleteFile(String fileId) throws IOException {
   Map<String, String> map = new HashMap<String, String>();
   try {
     storageClientService.deleteFile(fileId);
   } catch (Exception e) {
     e.printStackTrace();
     SxjLogger.debug("删除失败!", e.getClass());
   }
   return map;
 }