getStatusCode(); } else { $httpStatus = $this->httpStatus; } // 自定义异常处理机制 return show(config('status.error'), $e->getMessage(), [], $httpStatus); } }