让api请求允许跨域header("Access-Control-Allow-Origin:*");header('Access-Control-Allow-Credentials:true');header('Access-Control-Allow-Methods:GET, POST, OPTIONS');