dyjh 6 anos atrás
pai
commit
322246c72b

+ 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'));