抖音增加平台
This commit is contained in:
parent
ba7f446fe9
commit
5468298ed4
|
@ -411,7 +411,7 @@ class Douyin
|
||||||
'order_id' => $orderId,
|
'order_id' => $orderId,
|
||||||
'book_order_id' => '',
|
'book_order_id' => '',
|
||||||
'status' => $status,
|
'status' => $status,
|
||||||
'root_life_account_id' => $this->_id()
|
'root_life_account_id' => $this->_id($this->os)
|
||||||
]);
|
]);
|
||||||
return $orderDetail->data ?? null;
|
return $orderDetail->data ?? null;
|
||||||
}
|
}
|
||||||
|
@ -571,11 +571,11 @@ class Douyin
|
||||||
}
|
}
|
||||||
$body = curl_exec($ch);
|
$body = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
// if ($this->os) {
|
// if ($this->os == 5) {
|
||||||
Log::info( "抖音 os:{$this->os} \n\n" );
|
// echo "抖音 os:{$this->os} \n\n";
|
||||||
Log::info( "抖音 订单url:{$url} \n\n");
|
// echo "抖音 订单url:{$url} \n\n";
|
||||||
Log::info( "抖音 订单cookie:{$this->_cookie()} \n\n");
|
// echo "抖音 订单cookie:{$this->_cookie()} \n\n";
|
||||||
Log::info( "抖音 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);
|
||||||
|
|
Loading…
Reference in New Issue