1、选择网站“功能视图”,双击http响应标头添加如下配置:
Access-Control-Allow-Methods : GET,POST,PUT,DELETE,HEAD,OPTIONS
Access-Control-Allow-Headers : Content-Type,api_key,Authorization,X-Requested-With
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:*
1、选择网站“功能视图”,双击http响应标头添加如下配置:
Access-Control-Allow-Methods : GET,POST,PUT,DELETE,HEAD,OPTIONS
Access-Control-Allow-Headers : Content-Type,api_key,Authorization,X-Requested-With
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:*