diff --git a/crmeb/app/services/out/OutAccountServices.php b/crmeb/app/services/out/OutAccountServices.php index e726ec2f8..6326b77fe 100644 --- a/crmeb/app/services/out/OutAccountServices.php +++ b/crmeb/app/services/out/OutAccountServices.php @@ -268,7 +268,7 @@ class OutAccountServices extends BaseServices $param = ['push_account' => $data['push_account'], 'push_password' => $data['push_password']]; $res = HttpService::getRequest($data['push_token_url'], $param); $res = $res ? json_decode($res, true) : ['status' => 400]; - if ($res['status'] != 200) { + if (!isset($res['status']) && $res['status'] != 200) { throw new AdminException(100015); } else { return $res['data'];