fix: align platform admin resource paths

This commit is contained in:
2026-07-27 09:44:08 +08:00
parent 5ba0b47b8a
commit bc06d9b5f9
37 changed files with 215 additions and 208 deletions

View File

@@ -21,3 +21,10 @@
## Notes
The tree page consumes `parent_identity`; the corresponding menu API must expose that identity relation rather than an internal numeric parent key.
## Fix round 1
- Replaced inferred front-end paths with an explicit 46-path catalogue: it includes the dashboard endpoint, adds `/ec/ec_order_item`, and removes the non-list safety disposal action from the menu catalogue.
- Corrected the safety, e-commerce, staff, and user API paths to match the registered backend routes exactly.
- Added audit assertions for exact path/mode/page-kind contracts, separate read-only UI surfaces, identifier leakage, and tree semantics.
- Detail drawers now filter `id` and `*_id` fields before rendering.