ljl 1 year ago
parent 00ecb241e2
commit 6f2ffe971c

@ -515,7 +515,7 @@ class Baofu
$url = 'https://public.baofu.com/union-gw/api/' . $header['serviceTp'] . '/transReq.do'; $url = 'https://public.baofu.com/union-gw/api/' . $header['serviceTp'] . '/transReq.do';
$response = HttpClient::post($url, $header); $response = HttpClient::post($url, $header);
var_dump($response;) var_dump($response);
$result = Rsa::decryptByPublicKey($response, $this->getCerFilePath()); $result = Rsa::decryptByPublicKey($response, $this->getCerFilePath());
$result = base64_decode($result); $result = base64_decode($result);
return json_encode($result, true); return json_encode($result, true);

Loading…
Cancel
Save