chengwl 4 年之前
父节点
当前提交
82df166a9c
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      lib/GA.php

+ 2 - 4
lib/GA.php

@@ -73,10 +73,8 @@ class GA{
     
         $body = new \Google_Service_AnalyticsReporting_GetReportsRequest();
         $body->setReportRequests( array( $request) );
-        return $analytics->reports->batchGet( $body );
-
-
-
+        $reports= $analytics->reports->batchGet( $body );
+        
         $result=$this->getResults($reports);
         echo "<pre>";
         print_r($result);exit;