luoyb
2021-03-12 f5b0cc5ab7d6a4080381094e99c694109520b3b6
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/controller/EmpAccessoryController.java
@@ -78,7 +78,7 @@
        } catch (Exception e) {
            String message = "修改EmpAccessory失败";
            log.error(message, e);
            throw new FebsException(message);
            throw new FebsException(e.getMessage());
        }
    }
@@ -139,4 +139,15 @@
            throw new FebsException(message);
        }
    }
    @GetMapping("image/{accessoryid}")
    public void getImage(@PathVariable String accessoryid, HttpServletResponse response) throws FebsException {
        try {
            this.empAccessoryService.getImage(accessoryid,response);
        } catch (Exception e) {
            String message = "获取员工图片异常";
            log.error(message, e);
            throw new FebsException(message);
        }
    }
}