//添加这两行
curl_setopt($curl, CURLOPT_ENCODING, "gzip"); 
curl_setopt($curl, CURLOPT_HTTPHEADER, ['Origin: http://h5.qq.com']);

主要是第一行

© 2019 Powered by Typecho & Theme Quark