WebMvcConfigurer实现类重写以下方法:
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
UrlPathHelper helper = new UrlPathHelper();
helper.setUrlDecode(false);
helper.setDefaultEncoding(StandardCharsets.UTF_8.name());
configurer.setUrlPathHelper(helper);
}