chengwl il y a 4 ans
Parent
commit
36989ce034
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      lib/GA.php

+ 2 - 0
lib/GA.php

@@ -92,6 +92,8 @@ class GA{
      * 
     */
     public function getData($config){
+        $dp=$config['dp']??"";
+        $dateRange=$config['dateRange']??[];
         if(!$dp||!$dateRange||empty($config['metricArr'])){
             return false;
         }