header('Access-Control-Allow-Credentials: true');//支持cookie跨域
header("Access-Control-Allow-Headers:token,Content-Type, Authorization, platform, Accept, Range, Origin,Token,Lang,lang,X-Auth-Token");
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS');