chengwl 4 years ago
parent
commit
37ab181106
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/IndexController.php

+ 2 - 2
controllers/IndexController.php

@@ -294,8 +294,8 @@ class IndexController extends \app\controllers\HomeController
          $this->json(0,[],'参数错误');
          $this->json(0,[],'参数错误');
       }
       }
       $metricArr=[
       $metricArr=[
-        'pageviews'=>"ga:pageviews",
-        // 'sessions'=>"ga:sessions",
+        // 'pageviews'=>"ga:pageviews",
+        'sessions'=>"ga:sessions",
         'users'=>"ga:users",
         'users'=>"ga:users",
         'newUsers'=>"ga:newUsers",
         'newUsers'=>"ga:newUsers",
         'bounceRate'=>"ga:bounceRate",
         'bounceRate'=>"ga:bounceRate",