|
|
@@ -21,7 +21,7 @@ class DecryptController extends ControllerBase |
|
|
|
$result = openssl_decrypt(base64_decode($content), 'AES-128-CBC', base64_decode($aesKey), OPENSSL_RAW_DATA); |
|
|
|
$this->logger([ |
|
|
|
"args" => $args, |
|
|
|
"content" => $content, |
|
|
|
"result" => $result, |
|
|
|
], 'Decrypt', true); |
|
|
|
if (!$result) { |
|
|
|
$this->api(Msg::NewError(500, 'AES解密失败!')); |
|
|
|