From 858b8a12041e4d7ee5718e076b6d19fbebcc1c93 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 19 Aug 2024 21:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=A2=9E=E5=8A=A0=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/server/Douyin.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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'])) {