From 3cae5d7eb1f07630f1d5263abe63e542ab03ee39 Mon Sep 17 00:00:00 2001 From: bvbej Date: Tue, 11 Jan 2022 14:19:32 +0800 Subject: [PATCH] [edit] strval --- src/Handles/BvBeJHandle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handles/BvBeJHandle.php b/src/Handles/BvBeJHandle.php index a330669..34b1b71 100644 --- a/src/Handles/BvBeJHandle.php +++ b/src/Handles/BvBeJHandle.php @@ -112,7 +112,7 @@ class BvBeJHandle ksort($form); $singArr = []; foreach ($form as $k => $v) { - $singArr[urlencode($k)] = urlencode($v); + $singArr[urlencode(strval($k))] = urlencode(strval($v)); } $sign = http_build_query($singArr); try {