* finish task #6540.

This commit is contained in:
wangyidong
2019-11-18 16:07:46 +08:00
parent b8e8e46637
commit aa471fff1b
3 changed files with 48 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class dingapi
$response = curl_exec($curl);
curl_close($curl);
$response = json_encode($response);
$response = json_decode($response);
if(isset($response->errcode) and $response->errcode == 0) return array('result' => 'success');
$this->errors[$response->errcode] = "Errcode:{$response->errcode}, Errmsg:{$response->errmsg}";