ajax调用WebService 不能跨域

http://www.cnblogs.com/dojo-lzz/p/4265637.html

 "Access-Control-Allow-Origin":'http://localhost',
                'Access-Control-Allow-Methods': 'GET,POST,OPTIONS',
                'Access-Control-Allow-Headers': 'X-Requested-With, Content-Type'/**/

原文地址:https://www.cnblogs.com/mebius4789/p/5476659.html