liumiao
2021-02-03 ea9dd96ed35c2ac5eb87bfdc4ebab260b91d4f4c
修改登陆提示
1 files modified
3 ■■■■■ changed files
app/Exceptions/Handler.php 3 ●●●●● patch | view | raw | blame | history
app/Exceptions/Handler.php
@@ -189,12 +189,9 @@
        $routeArr = explode('/', ltrim($request->getRequestUri(), '/'));
        $routeSystem = $routeArr[0];                //系统名称
        $routeUrl = $routeArr[1];                   //路由地址
        $url = $routeSystem . '/' . $routeUrl;      //完整路径
        $errInfo['code'] = $e->getCode();           //错误code
        $errInfo['message'] = $e->getMessage();     //错误信息
        $errInfo['url'] = $url;                     //接口url
        $errInfo['file'] = $e->getFile();           //错误文件
        $errInfo['line'] = $e->getLine();           //错误行数
        $errInfo['params'] = $request->all();       //所有参数