diff --git a/app/common/controller/AuthController.php b/app/common/controller/AuthController.php index 34beb91..c025ff6 100644 --- a/app/common/controller/AuthController.php +++ b/app/common/controller/AuthController.php @@ -74,7 +74,7 @@ class AuthController extends BaseController $result = (new AuthService())->login($data); return $this->success($result, '登录成功'); } catch (\Throwable $e) { - return $this->error($e->getMessage().$e->getLine().$e->getFile()); + return $this->error($e->getMessage()); } }