|
@@ -213,9 +213,8 @@ class IndexController extends \app\controllers\HomeController
|
|
|
}
|
|
|
$start_day=$request->get('start', date('Y-m-d',time()-3600*24*8));
|
|
|
$end_day = $request->get('end', date('Y-m-d',time()-3600*24));
|
|
|
- $skuinfo=$ga->productInfo($productName,$store,$start_day,$end_day);
|
|
|
- echo "<pre>";
|
|
|
- print_r($skuinfo);exit;
|
|
|
+ $productInfo=$ga->productInfo($productName,$store,$start_day,$end_day);
|
|
|
+ $this->json(1,$productInfo);
|
|
|
|
|
|
|
|
|
|