fixed design components
This commit is contained in:
parent
d87063e6e5
commit
0996412787
|
|
@ -13,6 +13,9 @@ use Beike\Shop\View\Components\AccountSidebar;
|
||||||
|
|
||||||
class ShopServiceProvider extends ServiceProvider
|
class ShopServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @throws \Exception
|
||||||
|
*/
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$uri = request()->getRequestUri();
|
$uri = request()->getRequestUri();
|
||||||
|
|
@ -78,6 +81,11 @@ class ShopServiceProvider extends ServiceProvider
|
||||||
View::share('categories', $menuCategories);
|
View::share('categories', $menuCategories);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加载首页 page builder 相关组件
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
*/
|
||||||
protected function loadDesignComponents()
|
protected function loadDesignComponents()
|
||||||
{
|
{
|
||||||
$viewPath = base_path() . '/beike/Shop/View';
|
$viewPath = base_path() . '/beike/Shop/View';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue