befly 3.8.3 → 3.8.4

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/lib/database.ts CHANGED
@@ -141,7 +141,7 @@ export class Database {
141
141
  }
142
142
  // 创建临时 befly 上下文(仅用于 DbHelper)
143
143
  const ctx = befly || {
144
- redis: RedisHelper,
144
+ redis: new RedisHelper(),
145
145
  db: null as any,
146
146
  tool: null as any,
147
147
  logger: null as any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "befly",
3
- "version": "3.8.3",
3
+ "version": "3.8.4",
4
4
  "description": "Befly - 为 Bun 专属打造的 TypeScript API 接口框架核心引擎",
5
5
  "type": "module",
6
6
  "private": false,
@@ -69,5 +69,5 @@
69
69
  "es-toolkit": "^1.41.0",
70
70
  "pathe": "^2.0.3"
71
71
  },
72
- "gitHead": "51d86162e5f0b94ecc44a833a98ebf97c27f7bd6"
72
+ "gitHead": "40b4c3e6591454ff060416a6275142792e7de66c"
73
73
  }
package/menu.json DELETED
@@ -1,55 +0,0 @@
1
- [
2
- {
3
- "name": "首页",
4
- "path": "/addon/admin",
5
- "icon": "",
6
- "sort": 1,
7
- "type": 1
8
- },
9
- {
10
- "name": "人员管理",
11
- "path": "_people",
12
- "icon": "",
13
- "sort": 2,
14
- "type": 1,
15
- "children": [
16
- {
17
- "name": "管理员管理",
18
- "path": "/addon/admin/admin",
19
- "icon": "",
20
- "sort": 2,
21
- "type": 1
22
- }
23
- ]
24
- },
25
- {
26
- "name": "权限设置",
27
- "path": "_permission",
28
- "icon": "",
29
- "sort": 3,
30
- "type": 1,
31
- "children": [
32
- {
33
- "name": "菜单管理",
34
- "path": "/addon/admin/menu",
35
- "icon": "",
36
- "sort": 4,
37
- "type": 1
38
- },
39
- {
40
- "name": "角色管理",
41
- "path": "/addon/admin/role",
42
- "icon": "",
43
- "sort": 5,
44
- "type": 1
45
- }
46
- ]
47
- },
48
- {
49
- "name": "字典管理",
50
- "path": "/addon/admin/dict",
51
- "icon": "",
52
- "sort": 6,
53
- "type": 1
54
- }
55
- ]