chengwl há 4 anos atrás
pai
commit
1c588a3cfd
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      lib/GA.php

+ 2 - 2
lib/GA.php

@@ -489,10 +489,10 @@ class GA{
          return $result;
 
     }
-    public function goals($dp,$metricArr=[],$start_at,$end_at){
+    public function goals($dp,$metricArr,$start_at,$end_at){
         $analytics=self::getInstance($dp);
         $dimensionArr=[
-            // 'date'=>'ga:date',
+            'date'=>'ga:date',
         ];
        
         $VIEW_ID = $this->getViewId($dp);//