抖音增加平台
This commit is contained in:
parent
858b8a1204
commit
923bb0c6f7
|
@ -571,12 +571,12 @@ class Douyin
|
||||||
}
|
}
|
||||||
$body = curl_exec($ch);
|
$body = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
if ($this->os) {
|
// if ($this->os) {
|
||||||
echo "抖音 os:{$this->os} \n\n";
|
echo "抖音 os:{$this->os} \n\n";
|
||||||
echo "抖音 订单url:{$url} \n\n";
|
echo "抖音 订单url:{$url} \n\n";
|
||||||
echo "抖音 订单cookie:{$this->_cookie()} \n\n";
|
echo "抖音 订单cookie:{$this->_cookie()} \n\n";
|
||||||
echo "抖音 body:{$body} \n\n";
|
echo "抖音 body:{$body} \n\n";
|
||||||
}
|
// }
|
||||||
if (!in_array($method, ['GET', 'POST'])) {
|
if (!in_array($method, ['GET', 'POST'])) {
|
||||||
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
|
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
|
||||||
$header = substr($body, 0, $header_size);
|
$header = substr($body, 0, $header_size);
|
||||||
|
|
Loading…
Reference in New Issue