跨域 nginx设置http{ add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Headers X-Requested-With,Origin,Content-Type, Accept;
Origin,
Content-Type, Accept
add_header Access-Control-Allow-Methods GET,POST,OPTIONS,PUT,DELETE;}