|
|
@ -544,7 +544,6 @@ class Baofu
|
|
|
|
$result = Rsa::decryptByPublicKey($response, $this->getCerFilePath());
|
|
|
|
$result = Rsa::decryptByPublicKey($response, $this->getCerFilePath());
|
|
|
|
echo $result;
|
|
|
|
echo $result;
|
|
|
|
echo PHP_EOL;
|
|
|
|
echo PHP_EOL;
|
|
|
|
$result = base64_decode($result);
|
|
|
|
|
|
|
|
$result = json_decode($result, true);
|
|
|
|
$result = json_decode($result, true);
|
|
|
|
if ($result['header']['sysRespCode'] == 'S_0000' && $result['body']['transHeader']['returnCode'] == '0000') {
|
|
|
|
if ($result['header']['sysRespCode'] == 'S_0000' && $result['body']['transHeader']['returnCode'] == '0000') {
|
|
|
|
return $result['body']['transContent'];
|
|
|
|
return $result['body']['transContent'];
|
|
|
|