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

+ 1 - 1
lib/GA.php

@@ -646,7 +646,7 @@ class GA{
         $reports= $analytics->reports->batchGet( $body );
         
         $result=$this->getResults($reports);
-         return $result;
+         return $result[0]??[];
 
     }
     public function storeSellData($dp,$start_at,$end_at,$type="day"){