SpringMVC实现跨域

1、使用注解@CrossOrigin

其中参数origins可以指定支持的域名,并且origins的值可以使用通配符。

posted @ 2017-08-11 10:27  wbinbin  阅读(117)  评论(0)    收藏  举报