diff --git a/app/Helper/Baofu/Baofu.php b/app/Helper/Baofu/Baofu.php index e03eb15..a908af4 100644 --- a/app/Helper/Baofu/Baofu.php +++ b/app/Helper/Baofu/Baofu.php @@ -513,7 +513,7 @@ class Baofu echo json_encode($content); echo PHP_EOL; - $contentSign = SignatureUtil::sign(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); + $contentSign = Rsa::encryptedByPrivateKey(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); $header['content'] = $contentSign; echo json_encode($header);