|
@@ -28,10 +28,10 @@ class IndexController extends \app\controllers\HomeController
|
|
try{
|
|
try{
|
|
$geo=$ga->visitors_geo($store,$start_day,$end_day);
|
|
$geo=$ga->visitors_geo($store,$start_day,$end_day);
|
|
$product=$ga->product($store,$start_day,$end_day);
|
|
$product=$ga->product($store,$start_day,$end_day);
|
|
- $visitors=$ga->visitors_type($store,$start_day,$end_day);
|
|
|
|
|
|
+ $visitor=$ga->visitors_type($store,$start_day,$end_day);
|
|
$res=[
|
|
$res=[
|
|
'geo'=>$geo,
|
|
'geo'=>$geo,
|
|
- 'visitors'=>$visitors,
|
|
|
|
|
|
+ 'visitor'=>$visitor,
|
|
'product'=>$product,
|
|
'product'=>$product,
|
|
];
|
|
];
|
|
|
|
|