diff --git a/app/admin/view/default/site/siteset/extends.html b/app/admin/view/default/site/siteset/extends.html
index 9c2703767..be2fe8d49 100644
--- a/app/admin/view/default/site/siteset/extends.html
+++ b/app/admin/view/default/site/siteset/extends.html
@@ -28,15 +28,6 @@
-
-
-
-
-
-
+
+
+
+
+
diff --git a/app/api/controller/Index.php b/app/api/controller/Index.php
index ed98b3b70..7700309db 100755
--- a/app/api/controller/Index.php
+++ b/app/api/controller/Index.php
@@ -20,6 +20,7 @@ use app\service\LayoutService;
use app\service\ArticleService;
use app\service\MessageService;
use app\service\AppService;
+use app\service\PluginsService;
/**
* 首页
@@ -76,6 +77,7 @@ class Index extends Common
'right_icon_list' => AppService::HomeRightIconList(['message_total'=>$common_message_total]),
'common_cart_total' => $common_cart_total,
'common_message_total' => $common_message_total,
+ 'plugins_sort_list' => PluginsService::PluginsSortList(),
];
return ApiService::ApiDataReturn(SystemBaseService::DataReturn($result));
}
diff --git a/app/service/PluginsService.php b/app/service/PluginsService.php
index 38e837b0f..43d382726 100755
--- a/app/service/PluginsService.php
+++ b/app/service/PluginsService.php
@@ -560,5 +560,19 @@ class PluginsService
return $result;
}
+
+ /**
+ * 应用插件顺序数据列表
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2019-02-13
+ * @desc description
+ */
+ public static function PluginsSortList()
+ {
+ $data = Db::name('Plugins')->field('id,name,plugins')->where(['is_enable'=>1])->order(PluginsAdminService::$plugins_order_by)->select()->toArray();
+ return empty($data) ? [] : $data;
+ }
}
?>
\ No newline at end of file
diff --git a/app/service/SystemBaseService.php b/app/service/SystemBaseService.php
index 4f48cd412..45e0ff2da 100644
--- a/app/service/SystemBaseService.php
+++ b/app/service/SystemBaseService.php
@@ -152,7 +152,7 @@ class SystemBaseService
'common_app_is_head_vice_nav' => (int) MyC('common_app_is_head_vice_nav', 0),
// 商品分类相关
- 'category_show_level' => MyC('common_show_goods_category_level', 3, true),
+ 'category_show_level' => MyC('common_show_goods_category_level', 0, true),
// 商品相关
'common_app_is_use_mobile_detail' => (int) MyC('common_app_is_use_mobile_detail'),