1
This commit is contained in:
@@ -29,9 +29,11 @@ class Safe extends Base
|
||||
throw new BusinessException("Video Token Config Error");
|
||||
}
|
||||
|
||||
$hash = hash_hmac( 'sha256', $body, $token, true );
|
||||
$hash = hash_hmac( 'sha256', $body, "123654", true );
|
||||
|
||||
$sys_sign = base64_encode($hash);
|
||||
dump($sign);
|
||||
dump($sys_sign);
|
||||
if ($sign != $sys_sign) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user