origin.php $http_origin = isset($_SERVER['HTTP_ORIGIN'])?$_SERVER['HTTP_ORIGIN']:'';$acceptOrigin=[ 'http://zx.b.cc','http://lbs.b.cc','http://sc.b.cc'];if (in_array($http_origin, $acceptOrigin)) { header('Access-Control-Allow-Origin:'.$htt
$http_origin = isset($_SERVER['HTTP_ORIGIN'])?$_SERVER['HTTP_ORIGIN']:''; $acceptOrigin=[ 'http://zx.b.cc','http://lbs.b.cc','http://sc.b.cc' ]; if (in_array($http_origin, $acceptOrigin)) { header('Access-Control-Allow-Origin:'.$http_origin); header('Access-Control-Allow-Headers:X-Requested-With, accept, content-type, xxxx'); header('Access-Control-Allow-Credentials:true'); }