From 3c9c20a76c8b4005d8a37d8763bf5e4402565607 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 25 Nov 2024 11:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/server/Douyin.php | 4 ++-- service/app/server/Tongcheng.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/service/app/server/Douyin.php b/service/app/server/Douyin.php index 0b1c5e4f..d0fe8a09 100644 --- a/service/app/server/Douyin.php +++ b/service/app/server/Douyin.php @@ -534,9 +534,9 @@ class Douyin if (!isset($res->status_code) || $res->status_code != 0) { Log::info("抖音 os:{$this->os} \n\n"); Log::info( "抖音 body:{$body} \n\n"); -// if ($this->tryTimes > 2) { + if ($this->tryTimes > 2) { (new ThirdApiService())->weComNotice($this->os); -// } + } $this->tryTimes++; } return $res; diff --git a/service/app/server/Tongcheng.php b/service/app/server/Tongcheng.php index 3f630485..bdfe75ce 100644 --- a/service/app/server/Tongcheng.php +++ b/service/app/server/Tongcheng.php @@ -273,9 +273,9 @@ class Tongcheng { $res = json_decode($body); if (!isset($res->code) || $res->code != 1000) { Log::info( "同城 body:{$body} \n\n"); -// if ($this->tryTimes > 1) { + if ($this->tryTimes > 1) { (new ThirdApiService())->weComNotice($this->os); -// } + } $this->tryTimes++; } return $res;