mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-03 12:48:24 +08:00
Apply fixes from StyleCI
This commit is contained in:
parent
517dde69b4
commit
e54001cf34
@ -212,7 +212,7 @@ class Support
|
||||
$toVerify = $sync ? mb_convert_encoding(json_encode($data, JSON_UNESCAPED_UNICODE), 'gb2312', 'utf-8') :
|
||||
self::getSignContent($data, true);
|
||||
|
||||
$isVerify=openssl_verify($toVerify, base64_decode($sign), $publicKey, OPENSSL_ALGO_SHA256) === 1;
|
||||
$isVerify = openssl_verify($toVerify, base64_decode($sign), $publicKey, OPENSSL_ALGO_SHA256) === 1;
|
||||
|
||||
if (is_resource($publicKey)) {
|
||||
openssl_free_key($publicKey);
|
||||
|
Loading…
Reference in New Issue
Block a user