Kirin hace 3 años
padre
commit
6e145edc3a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -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'));
     }