增加机器人提醒
This commit is contained in:
parent
b8dd11b49e
commit
39f229c308
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue