- 4张表: voucher_template, voucher_rule, voucher_instance, voucher_usage_log - 可配置规则引擎: registry + validators + engine - 8种内置规则: min_amount, max_amount, applicable_product_type, applicable_product, exclude_product, max_usage_count, valid_period, user_level - CRUD定义 + API接口 + 前端页面 - SQL建表脚本 + RBAC权限配置 - 一次性使用,不找零
26 lines
817 B
JSON
26 lines
817 B
JSON
{
|
|
"items": [
|
|
{
|
|
"name": "voucher_template_list",
|
|
"label": "模板管理",
|
|
"icon": "fa fa-ticket",
|
|
"url": "{{entire_url('/voucher/voucher_template_list/index.ui')}}",
|
|
"target": "app.sage_main_content"
|
|
},
|
|
{
|
|
"name": "voucher_instance_list",
|
|
"label": "券实例",
|
|
"icon": "fa fa-list",
|
|
"url": "{{entire_url('/voucher/voucher_instance_list/index.ui')}}",
|
|
"target": "app.sage_main_content"
|
|
},
|
|
{
|
|
"name": "voucher_usage_log_list",
|
|
"label": "使用流水",
|
|
"icon": "fa fa-history",
|
|
"url": "{{entire_url('/voucher/voucher_usage_log_list/index.ui')}}",
|
|
"target": "app.sage_main_content"
|
|
}
|
|
]
|
|
}
|