抖音增加平台

This commit is contained in:
jianghanbo 2024-08-19 21:46:32 +08:00
parent ba7f446fe9
commit 5468298ed4
1 changed files with 6 additions and 6 deletions

View File

@ -411,7 +411,7 @@ class Douyin
'order_id' => $orderId,
'book_order_id' => '',
'status' => $status,
'root_life_account_id' => $this->_id()
'root_life_account_id' => $this->_id($this->os)
]);
return $orderDetail->data ?? null;
}
@ -571,11 +571,11 @@ class Douyin
}
$body = curl_exec($ch);
curl_close($ch);
// if ($this->os) {
Log::info( "抖音 os{$this->os} \n\n" );
Log::info( "抖音 订单url{$url} \n\n");
Log::info( "抖音 订单cookie{$this->_cookie()} \n\n");
Log::info( "抖音 body{$body} \n\n");
// if ($this->os == 5) {
// 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);