Sfoglia il codice sorgente

Merge branch 'master' of http://git.9026.com/wesley/furniture

gq 6 anni fa
parent
commit
afb3d65aca
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/Http/Controllers/Api/V1/FurnitureController.php

+ 2 - 2
app/Http/Controllers/Api/V1/FurnitureController.php

xqd
@@ -150,8 +150,8 @@ class FurnitureController extends Controller
         $navbar = AlbumNavModel::where([['store_id', $store_id], ['state', 0]])->orderByDesc('sort')->get();
         //顶部菜单栏
         $menus = AlbumNavModel::where([['store_id', $store_id], ['state', 1]])->orderByDesc('sort')->get();
-
-        $conf = AlbumManufacturerModel::where('store_id',$request->get('store_id'))->first();
+        
+        $conf = AlbumManufacturerModel::where('store_id',$store_id)->first();
         $getPhone = $conf->getPhone;
         $getFocus = $conf->getFocus;
         return $this->api(compact('setting', 'banner', 'navbar', 'menus','getFocus'));