|
@@ -84,40 +84,16 @@ class IndexController extends \app\controllers\HomeController
|
|
|
];
|
|
|
$sellData[$k]=$ga->getData($sellConfig);
|
|
|
}
|
|
|
- echo "<pre>";
|
|
|
- print_r($sellData);exit;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
$this->json(1,$adsData);
|
|
|
$res['storeData']=$storeData;
|
|
|
|
|
|
$storeSellData=$ga->storeSellData($store,$start_day,$end_day,'week');
|
|
|
- // $trafficsource=$ga->trafficsource_overview($store,$start_day,$end_day);
|
|
|
- // $googleAds=$ga->googleAds($store,$start_day,$end_day);
|
|
|
-
|
|
|
-
|
|
|
|
|
|
-
|
|
|
- // $product=$ga->product($store,$start_day,$end_day);
|
|
|
- // $visitors=$ga->visitors_type($store,$start_day,$end_day);
|
|
|
}catch(\Exception $e){
|
|
|
$this->json(0,[],$e->getMessage());
|
|
|
}
|
|
|
$this->json(1,$res);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
public function actionContentpage(){
|
|
|
$request = Yii::$app->request;
|