Merge branch 'dev' of bvbej/base-php into master
This commit is contained in:
commit
c2da4f1c5c
@ -110,7 +110,11 @@ class BvBeJHandle
|
|||||||
't' => $timestamp
|
't' => $timestamp
|
||||||
]);
|
]);
|
||||||
ksort($form);
|
ksort($form);
|
||||||
$sign = http_build_query($form);
|
$singArr = [];
|
||||||
|
foreach ($form as $k => $v) {
|
||||||
|
$singArr[urlencode($k)] = urlencode($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