From 0041d0056505d5a3a916c8eb4345f8096daf4d8c Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 30 Aug 2023 15:56:19 +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 a908af4..2816ab9 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 = Rsa::encryptedByPrivateKey(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); + $contentSign = Rsa::encryptedByPrivateKey(json_encode($content), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); $header['content'] = $contentSign; echo json_encode($header);