From 29a9caa1eb719b9ccb27a8cdf62da073eb23c890 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 18 Dec 2020 10:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=94=AF=E4=BB=98=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WePayV3/Contracts/BasicWePay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WePayV3/Contracts/BasicWePay.php b/WePayV3/Contracts/BasicWePay.php index 80d4d17..317d6b9 100644 --- a/WePayV3/Contracts/BasicWePay.php +++ b/WePayV3/Contracts/BasicWePay.php @@ -229,7 +229,7 @@ abstract class BasicWePay $data['result'] = $aes->decryptToString( $data['resource']['associated_data'], $data['resource']['nonce'], - $data['resource']['algorithm'] + $data['resource']['ciphertext'] ); } return $data;