diff --git a/includes/huayi-score-sdk.php b/includes/huayi-score-sdk.php index c908886..7de3c54 100644 --- a/includes/huayi-score-sdk.php +++ b/includes/huayi-score-sdk.php @@ -37,6 +37,7 @@ class HuayiScoreSdk ]; $response = $this->postRequest($url, $data); if (!$response) {//请求失败 + $this->error = '接口请求失败'; return false; } elseif ($response['code'] == 1) {//请求成功 return $response;