refactor: 优化代码结构和类型定义

feat(types): 添加express.d.ts类型引用
style: 格式化express.d.ts中的接口定义
refactor: 移除未使用的AntFC类型导入
chore: 删除自动生成的.umi-production文件
feat: 添加店铺管理相关表和初始化脚本
docs: 更新安全规则和交互指南文档
refactor: 统一使用FC类型替代React.FC
perf: 优化图表组件导入方式
style: 添加.prettierrc配置文件
refactor: 调整组件导入顺序和结构
feat: 添加平台库存管理路由
fix: 修复订单同步时的库存检查逻辑
docs: 更新RBAC设计和租户管理文档
refactor: 优化部门控制器代码
This commit is contained in:
2026-03-30 01:20:57 +08:00
parent d327706087
commit 1b14947e7b
106 changed files with 11251 additions and 38565 deletions

View File

@@ -27,6 +27,7 @@ export default defineConfig({
},
{
path: '/dashboard',
component: '@/layouts/index',
routes: [
{
path: '/dashboard',
@@ -304,6 +305,18 @@ export default defineConfig({
path: '/dashboard/settings/department',
component: '@/pages/Settings/DepartmentManagement',
},
{
path: '/dashboard/settings/my-shops',
component: '@/pages/Settings/MyShops',
},
{
path: '/dashboard/settings/shop-members',
component: '@/pages/Settings/ShopMemberManagement',
},
{
path: '/dashboard/settings/shop-members/:shopId',
component: '@/pages/Settings/ShopMemberManagement',
},
{
path: '/dashboard/user',
redirect: '/dashboard/settings/user',