feat: load_path.py添加新CRUD页面和API路径权限注册
新增15条logined路径: - discount_marketing_list, discount_promo_code_list, discount_customer_bind_list - api/marketing_*, api/promo_code_*, api/customer_bind_* (9个API)
This commit is contained in:
parent
8040238ea5
commit
a6a553ea78
@ -50,7 +50,22 @@ PATHS_LOGINED = [
|
||||
f"/discount/generate_qr.dspy",
|
||||
f"/discount/promote",
|
||||
f"/discount/promote.ui",
|
||||
f"/discount/promote/index.dspy",]
|
||||
f"/discount/promote/index.dspy",
|
||||
f"/discount/discount_marketing_list",
|
||||
f"/discount/discount_marketing_list/index.ui",
|
||||
f"/discount/discount_promo_code_list",
|
||||
f"/discount/discount_promo_code_list/index.ui",
|
||||
f"/discount/discount_customer_bind_list",
|
||||
f"/discount/discount_customer_bind_list/index.ui",
|
||||
f"/discount/api/marketing_create.dspy",
|
||||
f"/discount/api/marketing_update.dspy",
|
||||
f"/discount/api/marketing_delete.dspy",
|
||||
f"/discount/api/promo_code_create.dspy",
|
||||
f"/discount/api/promo_code_update.dspy",
|
||||
f"/discount/api/promo_code_delete.dspy",
|
||||
f"/discount/api/customer_bind_create.dspy",
|
||||
f"/discount/api/customer_bind_update.dspy",
|
||||
f"/discount/api/customer_bind_delete.dspy",]
|
||||
|
||||
# ============================================================
|
||||
# 执行注册
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user