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;