This commit is contained in:
xiangwbs
2018-03-07 13:20:25 +08:00
parent 0f8cd63512
commit cf76d8b68c
@@ -83,10 +83,11 @@ public class DispatcherServletConfig extends WebMvcConfigurerAdapter {
.allowCredentials(true)
.allowedMethods("GET", "POST", "DELETE", "PUT", "OPTIONS")
.maxAge(3600);
super.addCorsMappings(registry);
}
/**
* 扩展消息转换器,增加fastjson
* 扩展消息转换器,增加fastJson
*
* @param converters
*/