- ส่งแล้ว
- 23 เมษายน 2569 เวลา 20:22 UTC
- ผู้เขียน
- Kamo
- ตั้งค่า
- 4d3952e
Deletes the org-level **************** controllers, services, and DTOs. Introduces: - BillingGroupController mounting groups, members, subscriptions, licenses, payment methods, and invoices under /api/billing/groups. - BillingGroupService (lifecycle + Default Group + Free baseline), BillingGroupMemberService (one-group-per-member enforcement), BillingGroupSubscriptionService (Stripe sync with fallback to FREE_DEFAULT on cancel/lapse), **************** BillingGroupInvoiceService, LicenseService (auto-deactivation priority + inverse-priority reactivation). - PlanCatalogService + PlanCatalogController at **************** - StripeWebhookService consuming subscription / invoice / payment-method events. - EntitlementInvalidator publishing Redis invalidation signals. - PlatformAdminService + PlatformAdminController returning per-org roll-ups.