diff --git a/composer.json b/composer.json index 699871d..2fd6bd6 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tansilu/hfpay-lib", - "version": "0.0.8", + "version": "0.0.9", "type": "library", "require": { "php": ">=7.4", diff --git a/src/library/impl/SignerHttpClient.php b/src/library/impl/SignerHttpClient.php index 551efa3..277ae2e 100644 --- a/src/library/impl/SignerHttpClient.php +++ b/src/library/impl/SignerHttpClient.php @@ -99,7 +99,7 @@ class SignerHttpClient implements ISigner $options['form_params'] = $requestData; try { - $result = $this->client->post('/cfca/makeSign', $options); + $result = $this->client->post('cfca/makeSign', $options); $response = Response::make($result); if(!$response->isSuccess()) { throw new SignException('签名请求失败,请检查签名服务器 ' . $response->getCode()); @@ -144,7 +144,7 @@ class SignerHttpClient implements ISigner $options['form_params'] = $requestData; try { - $resp = $this->client->post('/cfca/verifySign', $options); + $resp = $this->client->post('cfca/verifySign', $options); } catch (GuzzleException $e) { throw new ApiException('签名服务器请求失败 ' . $e->getMessage()); }