tenant: admin orders sort whitelist

This commit is contained in:
2025-12-18 23:36:57 +08:00
parent 71bd15024e
commit 549339be74
8 changed files with 144 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ Content-Type: application/json
Authorization: Bearer {{ token }}
### Tenant Admin - Orders list (filter by username/content_title/created_at/type)
GET {{ host }}/t/{{ tenantCode }}/v1/admin/orders?page=1&limit=10&username=alice&content_title=Go&created_at_from=2025-01-01T00:00:00Z&created_at_to=2026-01-01T00:00:00Z&type=content_purchase
GET {{ host }}/t/{{ tenantCode }}/v1/admin/orders?page=1&limit=10&username=alice&content_title=Go&created_at_from=2025-01-01T00:00:00Z&created_at_to=2026-01-01T00:00:00Z&type=content_purchase&asc=amount_paid&desc=paid_at
Content-Type: application/json
Authorization: Bearer {{ token }}