chengwl 4 years ago
parent
commit
36989ce034
1 changed files with 2 additions and 0 deletions
  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;
         }