feat: implement Supabase entitlement service for signup trials and subscription management

This commit is contained in:
2569718930@qq.com
2026-04-19 20:19:38 +08:00
parent 6914e6277b
commit f5fe8b9b95
3 changed files with 59 additions and 12 deletions
+1
View File
@@ -1083,6 +1083,7 @@ async def ops_memberships(request: Request, limit: int = 200):
subscription_window = SUPABASE_ENTITLEMENT.get_subscription_window(
user_id,
respect_requirement=False,
bypass_cache=True,
)
current_expires_at = item.get("expires_at")
total_expires_at = (