注解@RequestParam Posted on 2022-02-15 In 框架 Views: 不写@RequestParam,不传参数,参数设为null,程序继续运行。写@RequestParam,请求中必须含有后面的参数,不然报错。 下面为自测: