befly 3.3.4 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/admin/del.ts +35 -0
- package/apis/admin/info.ts +50 -0
- package/apis/admin/ins.ts +61 -0
- package/apis/admin/list.ts +20 -0
- package/apis/admin/roleDetail.ts +35 -0
- package/apis/admin/roleSave.ts +40 -0
- package/apis/admin/upd.ts +51 -0
- package/apis/api/all.ts +37 -0
- package/apis/auth/login.ts +78 -0
- package/apis/auth/logout.ts +23 -0
- package/apis/auth/register.ts +50 -0
- package/apis/auth/sendSmsCode.ts +35 -0
- package/apis/cache/refresh.ts +34 -0
- package/apis/dashboard/addonList.ts +47 -0
- package/apis/dashboard/changelog.ts +37 -0
- package/apis/dashboard/configStatus.ts +54 -0
- package/apis/dashboard/environmentInfo.ts +46 -0
- package/apis/dashboard/performanceMetrics.ts +23 -0
- package/apis/dashboard/permissionStats.ts +31 -0
- package/apis/dashboard/serviceStatus.ts +82 -0
- package/apis/dashboard/systemInfo.ts +25 -0
- package/apis/dashboard/systemOverview.ts +32 -0
- package/apis/dashboard/systemResources.ts +119 -0
- package/apis/dict/all.ts +25 -0
- package/apis/dict/del.ts +19 -0
- package/apis/dict/detail.ts +21 -0
- package/apis/dict/ins.ts +27 -0
- package/apis/dict/list.ts +18 -0
- package/apis/dict/upd.ts +31 -0
- package/apis/menu/all.ts +68 -0
- package/apis/menu/del.ts +37 -0
- package/apis/menu/ins.ts +20 -0
- package/apis/menu/list.ts +21 -0
- package/apis/menu/upd.ts +29 -0
- package/apis/role/apiDetail.ts +30 -0
- package/apis/role/apiSave.ts +41 -0
- package/apis/role/del.ts +44 -0
- package/apis/role/detail.ts +24 -0
- package/apis/role/ins.ts +39 -0
- package/apis/role/list.ts +14 -0
- package/apis/role/menuDetail.ts +30 -0
- package/apis/role/menuSave.ts +38 -0
- package/apis/role/save.ts +44 -0
- package/apis/role/upd.ts +40 -0
- package/checks/conflict.ts +6 -6
- package/checks/table.ts +2 -2
- package/commands/build.ts +8 -4
- package/commands/dev.ts +19 -30
- package/commands/start.ts +24 -8
- package/commands/syncDb/index.ts +3 -3
- package/commands/syncDb/table.ts +1 -1
- package/commands/syncMenu.ts +40 -28
- package/config/env.ts +1 -17
- package/lifecycle/checker.ts +3 -3
- package/lifecycle/cluster-worker.ts +49 -0
- package/lifecycle/cluster.ts +31 -18
- package/lifecycle/lifecycle.ts +2 -2
- package/lifecycle/loader.ts +5 -5
- package/main.ts +2 -2
- package/package.json +3 -2
- package/paths.ts +125 -19
- package/router/static.ts +2 -2
- package/util.ts +3 -3
- package/config/menu.json +0 -67
package/config/menu.json
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "首页",
|
|
4
|
-
"path": "/",
|
|
5
|
-
"icon": "Home",
|
|
6
|
-
"sort": 1,
|
|
7
|
-
"type": 1
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"name": "管理员管理",
|
|
11
|
-
"path": "/admin",
|
|
12
|
-
"icon": "Users",
|
|
13
|
-
"sort": 2,
|
|
14
|
-
"type": 1
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "新闻管理",
|
|
18
|
-
"path": "/news",
|
|
19
|
-
"icon": "Newspaper",
|
|
20
|
-
"sort": 3,
|
|
21
|
-
"type": 1
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "菜单管理",
|
|
25
|
-
"path": "/menu",
|
|
26
|
-
"icon": "Menu",
|
|
27
|
-
"sort": 4,
|
|
28
|
-
"type": 1
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "角色管理",
|
|
32
|
-
"path": "/role",
|
|
33
|
-
"icon": "Users",
|
|
34
|
-
"sort": 5,
|
|
35
|
-
"type": 1
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "字典管理",
|
|
39
|
-
"path": "/dict",
|
|
40
|
-
"icon": "BookOpen",
|
|
41
|
-
"sort": 6,
|
|
42
|
-
"type": 1
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "用户管理",
|
|
46
|
-
"path": "/user",
|
|
47
|
-
"icon": "UserCog",
|
|
48
|
-
"sort": 7,
|
|
49
|
-
"type": 1,
|
|
50
|
-
"children": [
|
|
51
|
-
{
|
|
52
|
-
"name": "用户列表",
|
|
53
|
-
"path": "/list",
|
|
54
|
-
"icon": "Minus",
|
|
55
|
-
"sort": 1,
|
|
56
|
-
"type": 1
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "用户权限",
|
|
60
|
-
"path": "/permission",
|
|
61
|
-
"icon": "Minus",
|
|
62
|
-
"sort": 2,
|
|
63
|
-
"type": 1
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
]
|