场景:无需通过复杂的获取方式
@GetMapping("/getMessage")
public String getMessage(@RequestParam(value = "id", required = false) long id,@RequestParam(value = "type", required = false) String type,ModelMap modelMap)
{
modelMap.put("id",id);
return prefix + "/pageGo";
}
var id = [[${id}]];