From c0ec65d418fad8657a90d089f43d8bc115c5d676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Fri, 16 Dec 2022 16:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E5=AF=B9=E5=A4=96=E6=8E=A5=E5=8F=A3=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/out/OutAccountServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];