mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】更新腾讯云端错报错信息
This commit is contained in:
parent
13adf9a931
commit
c0db77a7c3
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user