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

+ 2 - 2
lib/GA.php

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