RequestParam使用的时候,如果接口方法中的参数没有指明,就会报错RequestParam.value() was empty on parameter 0,如下代码中的情况
@RequestMapping(value = "/SAP_DSMS_IN_063", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
String getReceiveLicenceDataPush(@RequestBody JSONObject jsonParam, @RequestParam HttpServletRequest request);
可以在idea中这样解决,写入-parameters