zxhxx 3 năm trước cách đây
mục cha
commit
b1a902928f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      application/api/controller/Index.php

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

@@ -31,7 +31,8 @@ class Index extends Api
         $banner = Ads::getbanner($this->cid);
         $bottom_menu = Menu::lst($this->cid,29);
         $menu = Menu::lst($this->cid,30);
-        $this->success('获取成功',compact('banner','bottom_menu','menu'));
+        $all_ash = Config::where('name','all_ash')->value('value');
+        $this->success('获取成功',compact('banner','bottom_menu','menu','all_ash'));
     }
 
     /**