摘要: 方式一(精细配置) 在需要跨域的整个Controller或者单个方法上添加@CrossOrigin注解 方式二(全局配置) @Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { @Override pub 阅读全文
posted @ 2020-09-17 15:49 cchilei 阅读(5342) 评论(0) 推荐(0) 编辑