抖音增加平台

This commit is contained in:
jianghanbo 2024-08-19 21:30:43 +08:00
parent 858b8a1204
commit 923bb0c6f7
1 changed files with 2 additions and 2 deletions

View File

@ -571,12 +571,12 @@ class Douyin
}
$body = curl_exec($ch);
curl_close($ch);
if ($this->os) {
// if ($this->os) {
echo "抖音 os{$this->os} \n\n";
echo "抖音 订单url{$url} \n\n";
echo "抖音 订单cookie{$this->_cookie()} \n\n";
echo "抖音 body{$body} \n\n";
}
// }
if (!in_array($method, ['GET', 'POST'])) {
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
$header = substr($body, 0, $header_size);