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