需要在@RequestMapping中添加对应url固定的参数就行
@RequestMapping("/{time}/{reportID}") # time和reportID是添加的url参数
@ResponseBody
public String getUrlParam(@PathVariable String time,@PathVariable String reportID) throws IOException, JRException{
}
需要在@RequestMapping中添加对应url固定的参数就行
@RequestMapping("/{time}/{reportID}") # time和reportID是添加的url参数
@ResponseBody
public String getUrlParam(@PathVariable String time,@PathVariable String reportID) throws IOException, JRException{
}