|
@@ -25,8 +25,8 @@ class Index extends Api
|
|
|
$newProduct = \app\admin\model\product\Product::validWhere()->where('newswitch', 1)->select();
|
|
|
$cases = \app\admin\model\cases\Cases::validWhere()->where('indexswitch', 1)->select();
|
|
|
$banners = $this->site['banners'];
|
|
|
- $company_cover = $this->site['company_cover'];
|
|
|
- $about_us = $this->site['about_us'];
|
|
|
+// $company_cover = $this->site['company_cover'];
|
|
|
+// $about_us = $this->site['about_us'];
|
|
|
$this->success('请求成功', compact('company_cover', 'about_us', 'banners', 'cases', 'loopProduct', 'newProduct', 'recommendProduct'));
|
|
|
}
|
|
|
|