WaterController { @PostMapping("/getrecmoney") public ResBodyData getRecMoney(@RequestParam Map<String, Object> params){ String money = agentService.getRecommenderMoney(params); return SettlementUtil.success(money); }  @PostMapping("/querywater") ResBodyData queryWater(@RequestParam(value = "pageNumber", defaultValue = "1") int pageNumber,
			@RequestParam(value = "pageSize", defaultValue = "20") int pageSize,
			@RequestParam(value = "type", defaultValue = "list") String type,
			@RequestParam Map<String, Object> params, String waterType); @PostMapping("/querywaterbyid") ResBodyData queryWaterById(String waterId, String waterType, Integer loginType, String code,
			Integer pageNumber, Integer pageSize); @PostMapping("/getrecmoney") ResBodyData getRecMoney(@RequestParam Map<String, Object> params);  }
@Test public void testGetRecMoney() throws Exception { ResultActions results = mockMvc .perform(MockMvcRequestBuilders.post("/settlementservice/revenueservice/v1/getrecmoney") .param("code", "440511").param("recNo", "QTG440511161209001")); results.andDo(new ResultHandler(){ @Override public void handle(MvcResult result) throws Exception { System.out.println("*********"+result.getResponse().getContentAsString()); } }); }