|
|
2259b68789
|
refactor: 折扣设置改用Jinja2直建HBox列表+Form/UiFloat+changed事件, 废弃Tabular和inline_edit.js
|
2026-06-29 11:54:12 +08:00 |
|
|
|
1bf3528b6d
|
fix: 折扣设置列宽加大(3/5/3/3); 新增inline_edit.js点击编辑折扣; save_discount uuid→getID
|
2026-06-29 11:37:47 +08:00 |
|
Hermes Agent
|
1db2cc3109
|
chore: load_path添加discount_setting路径注册
|
2026-06-24 21:02:19 +08:00 |
|
Hermes Agent
|
b8a5de7a07
|
refactor: load_path.py自动扫描json/和api/目录生成完整权限路径
- 从json/*.json自动提取tblname和alias,生成所有CRUD路径
- 自动扫描wwwroot/api/*.dspy注册所有API路径
- 去重处理,避免重复注册
- operator获得全部CRUD+API权限,sale获得促销码+客户归属权限
|
2026-06-24 08:57:46 +08:00 |
|
Hermes Agent
|
e4a6ca15b9
|
feat: 添加客户列表API支持*全部客户选项
- 新增 api/get_customer_list.dspy,返回带*选项的客户列表
- json/discount_list.json: customerid 使用自定义 dataurl
- load_path.py: 注册新API到logined和operator
|
2026-06-24 01:42:36 +08:00 |
|
Hermes Agent
|
0fcc34c235
|
fix: dataurl改为/appbase/get_code.dspy,补全CRUD API
- json/discount_list.json: dataurl→/appbase/, resellerid隐藏+自动填充, customerid保留下拉
- json/discount_detail_list.json: dataurl→/appbase/
- 新增6个API: discount和discount_detail的create/update/delete
- load_path.py: 注册新API路径到logined和operator
|
2026-06-24 01:40:54 +08:00 |
|
Hermes Agent
|
c9372ae2c6
|
fix: CRUD路径改为tablename/index.ui格式,清理错误的.ui路径
|
2026-06-24 01:24:59 +08:00 |
|
Hermes Agent
|
b834b040de
|
fix: load_path.py补充discount_list.ui和discount_detail_list.ui路径
这两个是老表的直接.ui文件路径,menu.ui引用的是这些路径而非CRUD目录。
需要在logined和operator角色中都注册。
|
2026-06-24 01:19:35 +08:00 |
|
Hermes Agent
|
daa6e66d09
|
fix: 重写load_path.py,补全RBAC权限路径
问题:discount_list/discount_detail_list/discount_customer_bind_list 返回403
原因:缺少CRUD目录路径、auto-generated .dspy、角色专属权限
修复:
- PATHS_ANY: 添加5个CRUD目录别名
- PATHS_LOGINED: 添加25个CRUD auto-generated .dspy
- PATHS_OPERATOR: reseller.operator可管理全部折扣功能
- PATHS_SALE: reseller.sale可查看促销码和客户归属
|
2026-06-24 01:16:33 +08:00 |
|
Hermes Agent
|
a6a553ea78
|
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)
|
2026-06-24 01:08:05 +08:00 |
|
|
|
a00dc84cb5
|
bugfix
|
2026-05-28 15:44:12 +08:00 |
|
|
|
8424d71090
|
bugfix
|
2026-05-28 15:43:53 +08:00 |
|
|
|
049b4225ad
|
feat: add load_path.py RBAC permission registration script
|
2026-05-27 13:16:04 +08:00 |
|
|
|
3a57205337
|
fix(discount): 兼容discount_detail表不存在的情况,fallback到discount.discount字段 + 新增discount_detail表定义和迁移脚本 + 修复discount.json中float类型缺少dec字段
|
2026-05-24 22:31:42 +08:00 |
|