public function getDetail() { $stat = new Stat(); $results = $stat->getDetail(); return Response()->json($results, 200); }