From c9372ae2c62470836b0bd7b3c10985bb9bd21059 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 01:24:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CRUD=E8=B7=AF=E5=BE=84=E6=94=B9=E4=B8=BA?= =?UTF-8?q?tablename/index.ui=E6=A0=BC=E5=BC=8F=EF=BC=8C=E6=B8=85=E7=90=86?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84.ui=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/load_path.py | 4 ---- wwwroot/menu.ui | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/load_path.py b/scripts/load_path.py index 70d7f18..4e3c4ce 100644 --- a/scripts/load_path.py +++ b/scripts/load_path.py @@ -65,8 +65,6 @@ PATHS_LOGINED = [ f"/{MOD}", f"/{MOD}/index.ui", # 功能页面 - f"/{MOD}/discount_list.ui", - f"/{MOD}/discount_detail_list.ui", f"/{MOD}/generate_qr.dspy", f"/{MOD}/promote", f"/{MOD}/promote.ui", @@ -117,8 +115,6 @@ PATHS_LOGINED = [ # 角色专属权限 — operator 可管理折扣方案、营销方案、客户归属 PATHS_OPERATOR = [ # 折扣方案管理 - f"/{MOD}/discount_list.ui", - f"/{MOD}/discount_detail_list.ui", f"/{MOD}/discount_list", f"/{MOD}/discount_list/index.ui", f"/{MOD}/discount_list/get_discount.dspy", diff --git a/wwwroot/menu.ui b/wwwroot/menu.ui index d1cfe15..be7e3ca 100644 --- a/wwwroot/menu.ui +++ b/wwwroot/menu.ui @@ -8,12 +8,12 @@ { "name":"discount_list", "label": "折扣管理", - "url": "{{entire_url('discount_list.ui')}}" + "url": "{{entire_url('discount_list/index.ui')}}" }, { "name":"discount_detail_list", "label": "折扣产品明细", - "url": "{{entire_url('discount_detail_list.ui')}}" + "url": "{{entire_url('discount_detail_list/index.ui')}}" }, { "name":"discount_marketing_list",