抖音增加平台

This commit is contained in:
jianghanbo 2024-08-19 21:17:55 +08:00
parent e2ed13145a
commit 858b8a1204
1 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class Douyin
$this->id = $this->_id();
$this->os = $os;
$this->token = $this->_token('', $os);
Log::info("抖音 token{$this->token},os:{{$this->os}} \n\n"); ;
Log::info("抖音 token{$this->token},os:{$this->os} \n\n"); ;
}
public function login()
@ -571,8 +571,10 @@ class Douyin
}
$body = curl_exec($ch);
curl_close($ch);
if ($this->os == 5) {
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'])) {