ljl 1 year ago
parent 59c29044df
commit 0041d00565

@ -513,7 +513,7 @@ class Baofu
echo json_encode($content); echo json_encode($content);
echo PHP_EOL; echo PHP_EOL;
$contentSign = Rsa::encryptedByPrivateKey(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); $contentSign = Rsa::encryptedByPrivateKey(json_encode($content), $this->getPfxFilePath(), $this->getPrivateKeyPassword());
$header['content'] = $contentSign; $header['content'] = $contentSign;
echo json_encode($header); echo json_encode($header);

Loading…
Cancel
Save