From 59c29044df146101fa0ec067829e0b523f5ed0cf Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 30 Aug 2023 15:45:37 +0800 Subject: [PATCH] yh --- app/Helper/Baofu/Baofu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);