[edit] sign header

This commit is contained in:
bvbej 2022-01-11 13:58:02 +08:00
parent 81844ef50b
commit ab0c86a3c3

View File

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