diff --git a/service/app/server/Douyin.php b/service/app/server/Douyin.php index fe84c7fb..6a89200e 100644 --- a/service/app/server/Douyin.php +++ b/service/app/server/Douyin.php @@ -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'])) {