diff --git a/app/http/middleware/ContextMiddleware.php b/app/http/middleware/ContextMiddleware.php index 1acbbd8..f4fb167 100644 --- a/app/http/middleware/ContextMiddleware.php +++ b/app/http/middleware/ContextMiddleware.php @@ -23,11 +23,11 @@ class ContextMiddleware extends middleware if ($request->header('x-encrypted') == 'true') { $encryptedData = $request->param('encryptedData',''); if($encryptedData) { - try{ +// try{ $jsonInput = \app\Request::decryptCryptoJSData($encryptedData); - }catch (\Throwable){ - $jsonInput = null; - } +// }catch (\Throwable){ +// $jsonInput = null; +// } if($jsonInput) { return json(['code'=>500,'message'=>'E0.数据解密失败']);