[edit] $form
This commit is contained in:
parent
3cae5d7eb1
commit
794e991b5e
@ -110,11 +110,7 @@ class BvBeJHandle
|
|||||||
't' => $timestamp
|
't' => $timestamp
|
||||||
]);
|
]);
|
||||||
ksort($form);
|
ksort($form);
|
||||||
$singArr = [];
|
$sign = http_build_query($form);
|
||||||
foreach ($form as $k => $v) {
|
|
||||||
$singArr[urlencode(strval($k))] = urlencode(strval($v));
|
|
||||||
}
|
|
||||||
$sign = http_build_query($singArr);
|
|
||||||
try {
|
try {
|
||||||
$signature = $this->AesEncrypt($sign, $key, $vi);
|
$signature = $this->AesEncrypt($sign, $key, $vi);
|
||||||
if ($signature === false) {
|
if ($signature === false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user