From fca6a83cff932d61f30bf888447238b5be3b5298 Mon Sep 17 00:00:00 2001 From: jerry Date: Wed, 28 Nov 2018 15:28:15 +0800 Subject: [PATCH] :bug: fix unknown bug --- src/cqbot/utils/StatusParser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cqbot/utils/StatusParser.php b/src/cqbot/utils/StatusParser.php index b6320fdd..21b14063 100644 --- a/src/cqbot/utils/StatusParser.php +++ b/src/cqbot/utils/StatusParser.php @@ -20,6 +20,8 @@ class StatusParser CQUtil::errorLog("API推送失败, retcode = " . $response["retcode"], "API ERROR", 0); break; case 200: + case 0: + case 1: break; default: CQUtil::errorLog("API推送失败, retcode = " . $response["retcode"] . "\n说明 = " . ErrorStatus::getMessage($response["retcode"]) . "\n" . json_encode($origin, 128 | 256), "API ERROR");