$urls = array(文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
'http://www.example.com/1.html',文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
'http://www.example.com/2.html',文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
);文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
$api = 'http://data.zz.baidu.com/urls?appid=1585197816243468&token=HUuRZYgrlGLrVysh&type=batch';文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
$ch = curl_init();文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
$options = array(文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
CURLOPT_URL => $api,文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
CURLOPT_POST => true,文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
CURLOPT_RETURNTRANSFER => true,文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
CURLOPT_POSTFIELDS => implode("\n", $urls),文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
CURLOPT_HTTPHEADER => array('Content-Type: text/plain'),文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
);文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
curl_setopt_array($ch, $options);文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
$result = curl_exec($ch);文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html
echo $result;文章源自菜鸟学院-https://www.cainiaoxueyuan.com/cms/7684.html