esponse.setHeader("Access-Control-Allow-Origin","*");
加这么一句就好了
ajax收不到服务器发过去的消息
原文:https://www.cnblogs.com/dailinfeng/p/10623535.html