首页 > 技术文章 > 跨域最简单解决方法
suruozhong 2017-03-10 15:34 原文
在拦截器加入以下代码,缺点是不安全
controller.getResponse().addHeader("Access-Control-Allow-Origin", "*");