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()); }