778 B
778 B
1. Proposal Review
- 1.1 Review and approve this proposal before implementation
2. Implementation
- 2.1 Add a typed shop-detail API method for
/api/admin/shops/{shop_id}and itsdistribution_codefield - 2.2 Add a distribution-code page that checks the current user type, fetches the current shop, and renders the code locally as a QR
- 2.3 Register the page and add the agent-only home shortcut immediately after withdrawal management using the supplied icon
- 2.4 Handle missing shop/code and request failure states
3. Verification
- 3.1 Run targeted ESLint and type-check; record unrelated existing type-check failures
- 3.2 Verify role gating,
shop_idlookup, and QR content mapping, and build H5 and WeChat mini-program targets