LideaLogService { public LideaMethodResp listMethods(LideaMethodReq req) { LideaMethodResp resp = new LideaMethodResp(); List<LideaMethodBO> data = lideaMethodDAO.scan(req); resp.setAppName(req.getAppName()); resp.setServiceName(req.getServiceName()); resp.setData(data); return resp; }  LideaLogErrorDetailResp listError(LideaLogReq req); LideaAppResp listApps(); LideaServiceResp listServices(LideaServiceReq req); LideaMethodResp listMethods(LideaMethodReq req); LideaLogResp listAccess(LideaLogReq req);  }
@Test public void listMethods() { LideaMethodReq req = new LideaMethodReq(); req.setAppName("cabinet-base-server"); req.setServiceName("com.fcbox.edms.terminal.api.CabinetServiceFacade"); LideaMethodResp resp = lideaLogService.listMethods(req); System.out.println("=========================================================================================="); System.out.println(JSON.toJSONString(resp)); }