diff --git a/README.md b/README.md
index 0e3a628..7ea5926 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,10 @@ MPay V2 Webman 是一个采用 Webman 高性能 PHP 框架构建的支付系统
- **缓存**: Redis
- **认证**: JWT
+## 图片展示
+
+
+
## 项目结构
```
diff --git a/app/repositories/DictItemRepository.php b/app/repositories/DictItemRepository.php
new file mode 100644
index 0000000..548c69d
--- /dev/null
+++ b/app/repositories/DictItemRepository.php
@@ -0,0 +1,19 @@
+model
+ ->newQuery()
+ ->whereIn('type', [1, 2]) // 1目录 2菜单,排除3按钮
+ ->where('status', 1) // 只获取启用的菜单
+ ->orderBy('sort', 'asc')
+ ->orderBy('id', 'asc')
+ ->get()
+ ->toArray();
+ }
+
+ /**
+ * 根据菜单ID列表获取启用的菜单(仅目录和菜单类型,排除按钮)
+ */
+ public function getMenusByIds(array $menuIds): array
+ {
+ if (empty($menuIds)) {
+ return [];
+ }
+
+ return $this->model
+ ->newQuery()
+ ->whereIn('id', $menuIds)
+ ->whereIn('type', [1, 2]) // 1目录 2菜单,排除3按钮
+ ->where('status', 1) // 只获取启用的菜单
+ ->orderBy('sort', 'asc')
+ ->orderBy('id', 'asc')
+ ->get()
+ ->toArray();
+ }
+}
+
+
diff --git a/app/repositories/RoleRepository.php b/app/repositories/RoleRepository.php
new file mode 100644
index 0000000..7b5a721
--- /dev/null
+++ b/app/repositories/RoleRepository.php
@@ -0,0 +1,19 @@
+ true,
diff --git a/doc/img/1.png b/doc/img/1.png
new file mode 100644
index 0000000..ec82876
Binary files /dev/null and b/doc/img/1.png differ
diff --git a/doc/img/2.png b/doc/img/2.png
new file mode 100644
index 0000000..4d85b01
Binary files /dev/null and b/doc/img/2.png differ
diff --git a/test.php b/test.php
new file mode 100644
index 0000000..acb08a0
--- /dev/null
+++ b/test.php
@@ -0,0 +1,14 @@
+getTabs();
+echo json_encode($tabs, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
\ No newline at end of file