diff --git a/js/api_misc.js b/js/api_misc.js index a126561..4f50ffe 100644 --- a/js/api_misc.js +++ b/js/api_misc.js @@ -35,10 +35,17 @@ function getMenus(params) { }) } +// 获取全局设定项 +function getConfig(params) { + return $cms().get(`/api/cms/config` ,{ + params + }) +} export { getBreadcrumb, getMenu, getArticle, - getMenus + getMenus, + getConfig }; \ No newline at end of file diff --git a/package.json b/package.json index 9d45f25..0f7a927 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jx3box/jx3box-common", - "version": "8.3.6", + "version": "8.3.7", "description": "JX3BOX公共基础模块", "main": "main.js", "repository": {