增加机器人提醒

This commit is contained in:
jianghanbo 2024-09-10 09:43:28 +08:00
parent b8dd11b49e
commit 39f229c308
3 changed files with 3 additions and 3 deletions

View File

@ -530,7 +530,7 @@ class Douyin
}
$res = json_decode($body);
if (!isset($res['status_code']) || $res['status_code'] != 0) {
if (!isset($res->status_code) || $res->status_code != 0) {
Log::info("抖音 os{$this->os} \n\n");
Log::info( "抖音 body{$body} \n\n");
(new ThirdApiService())->weComNotice($this->os);

View File

@ -152,7 +152,7 @@ class Meituan {
$body = curl_exec($ch);
curl_close($ch);
$res = json_decode($body);
if (!isset($res['code']) || $res['code'] != 0) {
if (!isset($res->code) || $res->code != 0) {
Log::info('os:' . $this->os);
Log::info('http:' . $http);
Log::info('body:' . $body);

View File

@ -270,7 +270,7 @@ class Tongcheng {
}
$res = json_decode($body);
if (!isset($res['code']) || $res['code'] != 1000) {
if (!isset($res->code) || $res->code != 1000) {
Log::info( "同城 body{$body} \n\n");
(new ThirdApiService())->weComNotice($this->os);
}