chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
8c0a3116ad
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      controllers/IndexController.php

+ 2 - 2
controllers/IndexController.php

@@ -79,11 +79,11 @@ class IndexController extends Controller
           ];
           $i=1;
           $datas=array_chunk($metrics,3,true);
+          echo "<pre>";
+          print_r($datas);exit;
           foreach($datas as $data){
                 $response = $this->getReport($analytics,$data);
-
                 $this->printResults($response);
-                $list=[];
           }
         exit;
         return $this->render('index');