feat(tenant): add public subscription plan list endpoint and enhance plan information

Add a public subscription plan list endpoint that can be accessed without authentication. Enhance the returned subscription plan information fields, including multi-language support and default free plan fallback logic. Additionally, implement automatic model binding for the knowledge base service.
This commit is contained in:
wxy
2026-04-16 17:54:50 +08:00
parent 5ce0bdb0f5
commit 915cb54f21
4 changed files with 148 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
DEFAULT_FREE_PLAN = {
"name": "记忆体验版",
"name_en": "Memory Experience",
"category": "saas_personal",
"tier_level": 0,
"version": "1.0",
@@ -12,9 +13,13 @@ DEFAULT_FREE_PLAN = {
"price": 0,
"billing_cycle": "permanent_free",
"core_value": "感受永久记忆",
"core_value_en": "Experience Permanent Memory",
"tech_support": "社群交流",
"tech_support_en": "Community Support",
"sla_compliance": "",
"sla_compliance_en": "None",
"page_customization": "",
"page_customization_en": "None",
"theme_color": "#64748B",
"quotas": {
"workspace_quota": 1,