Signed-off-by: hitsword <mail@huayizhiyun.com>
master
hitsword 2019-05-20 16:37:18 +08:00
parent 88d1a9ae81
commit 933e90bfc2
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class HuayiScoreSdk
];
$response = $this->postRequest($url, $data);
if (!$response) {//请求失败
$this->error = '接口请求失败';
return false;
} elseif ($response['code'] == 1) {//请求成功
return $response;