Signed-off-by: hitsword <mail@huayizhiyun.com>
This commit is contained in:
hitsword
2019-05-20 16:37:18 +08:00
parent 88d1a9ae81
commit 933e90bfc2
+1
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;