|
|
|
@ -99,7 +99,7 @@ class SignerHttpClient implements ISigner |
|
|
|
$options['form_params'] = $requestData; |
|
|
|
$options['form_params'] = $requestData; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
$result = $this->client->post('/hfpcfca/cfca/makeSign', $options); |
|
|
|
$result = $this->client->post('/cfca/makeSign', $options); |
|
|
|
$response = Response::make($result); |
|
|
|
$response = Response::make($result); |
|
|
|
if(!$response->isSuccess()) { |
|
|
|
if(!$response->isSuccess()) { |
|
|
|
throw new SignException('签名请求失败,请检查签名服务器 ' . $response->getCode()); |
|
|
|
throw new SignException('签名请求失败,请检查签名服务器 ' . $response->getCode()); |
|
|
|
@ -144,7 +144,7 @@ class SignerHttpClient implements ISigner |
|
|
|
$options['form_params'] = $requestData; |
|
|
|
$options['form_params'] = $requestData; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
$resp = $this->client->post('/hfpcfca/cfca/verifySign', $options); |
|
|
|
$resp = $this->client->post('/cfca/verifySign', $options); |
|
|
|
} catch (GuzzleException $e) { |
|
|
|
} catch (GuzzleException $e) { |
|
|
|
throw new ApiException('签名服务器请求失败 ' . $e->getMessage()); |
|
|
|
throw new ApiException('签名服务器请求失败 ' . $e->getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
|