class MonitorController extends BaseController {

    @ApiOperation(value = "listMaster", notes = "MASTER_LIST_NOTES")
    @GetMapping(value = "/master/list")
    @ResponseStatus(HttpStatus.OK)
    @ApiException(LIST_MASTERS_ERROR)
    public Result listMaster(@ApiIgnore @RequestAttribute(value = Constants.SESSION_USER) User loginUser) {
        logger.info("login user: {}, query all master", loginUser.getUserName());
        logger.info("list master, user:{}", loginUser.getUserName());
        Map<String, Object> result = monitorService.queryMaster(loginUser);
        return returnDataList(result);
    }

}