dyjh 6 years ago
parent
commit
617966fdcb
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/Http/Controllers/Api/V1/FurnitureController.php

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

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