diff --git a/crmeb/crmeb/services/sms/storage/Tencent.php b/crmeb/crmeb/services/sms/storage/Tencent.php index 5d795084d..b90663420 100644 --- a/crmeb/crmeb/services/sms/storage/Tencent.php +++ b/crmeb/crmeb/services/sms/storage/Tencent.php @@ -113,10 +113,12 @@ class Tencent extends BaseSms ]); $res = HttpService::request(self::API_URL, 'post', $body, $this->getHeader($body)); $res = json_decode($res, true); - if (!empty($res['Response']['Error'])) { return $this->setError($res['Response']['Message']); } + if ($res['Response']['SendStatusSet'][0]['Code'] != 'Ok') { + return $this->setError($res['Response']['SendStatusSet'][0]['Message']); + } return $res; }