From 794e991b5e3c5600b876a368ff6fb4a41b11dd18 Mon Sep 17 00:00:00 2001 From: bvbej Date: Tue, 11 Jan 2022 14:23:49 +0800 Subject: [PATCH] [edit] $form --- src/Handles/BvBeJHandle.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Handles/BvBeJHandle.php b/src/Handles/BvBeJHandle.php index 34b1b71..8d95527 100644 --- a/src/Handles/BvBeJHandle.php +++ b/src/Handles/BvBeJHandle.php @@ -110,11 +110,7 @@ class BvBeJHandle 't' => $timestamp ]); ksort($form); - $singArr = []; - foreach ($form as $k => $v) { - $singArr[urlencode(strval($k))] = urlencode(strval($v)); - } - $sign = http_build_query($singArr); + $sign = http_build_query($form); try { $signature = $this->AesEncrypt($sign, $key, $vi); if ($signature === false) {