签名路径问题

develop
X14XA\shengli 1 week ago
parent 489772a19f
commit f856726214
  1. 4
      src/library/impl/SignerHttpClient.php

@ -99,7 +99,7 @@ class SignerHttpClient implements ISigner
$options['form_params'] = $requestData; $options['form_params'] = $requestData;
try { try {
$result = $this->client->post('/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('/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());
} }

Loading…
Cancel
Save