apache设置跨域请求
<VirtualHost *:8888>
DocumentRoot D:/xampp/htdocs/bss/
ServerName ims.drcloud.cn
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Credentials true
Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
#Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
</VirtualHost>