Merge branch 'dev' of bvbej/base-php into master

This commit is contained in:
bvbej 2022-01-11 13:58:19 +08:00 committed by Gogs
commit fc37f25a2f

View File

@ -110,9 +110,9 @@ class BvBeJHandle
't' => $timestamp 't' => $timestamp
]); ]);
ksort($form); ksort($form);
$http_build_query = http_build_query($form); $sign = urldecode(http_build_query($form));
try { try {
$signature = $this->AesEncrypt($http_build_query, $key, $vi); $signature = $this->AesEncrypt($sign, $key, $vi);
if ($signature === false) { if ($signature === false) {
return false; return false;
} }