diff --git a/dashboard/src2/components/site/SiteAppPlanSelectorDialog.vue b/dashboard/src2/components/site/SiteAppPlanSelectorDialog.vue index 719a8b4..cfbca57 100644 --- a/dashboard/src2/components/site/SiteAppPlanSelectorDialog.vue +++ b/dashboard/src2/components/site/SiteAppPlanSelectorDialog.vue @@ -59,6 +59,7 @@ export default { : plan.price_usd )}/月`, sublabel: ' ', + plan_title: plan.title, ...plan, features: plan.features.map(f => ({ value: f, diff --git a/jcloud/api/site.py b/jcloud/api/site.py index d9ba45e..fa566bd 100644 --- a/jcloud/api/site.py +++ b/jcloud/api/site.py @@ -970,9 +970,9 @@ def get_plans(name=None, rg=None): out = [] for plan in plans: - if is_paywalled_bench and plan.price_cny == 10: + if is_paywalled_bench and plan.price_cny >= 99: continue - if not plan.allow_downgrading_from_other_plan and plan.price_cny == 5: + if not plan.allow_downgrading_from_other_plan and plan.price_cny >= 99: continue if not on_dedicated_server and plan.dedicated_server_plan: continue diff --git a/jcloud/marketplace/pagetype/marketplace_app_plan/marketplace_app_plan.json b/jcloud/marketplace/pagetype/marketplace_app_plan/marketplace_app_plan.json index 65c79ea..0b13dcd 100644 --- a/jcloud/marketplace/pagetype/marketplace_app_plan/marketplace_app_plan.json +++ b/jcloud/marketplace/pagetype/marketplace_app_plan/marketplace_app_plan.json @@ -27,11 +27,6 @@ "fieldtype": "Check", "label": "Enabled" }, - { - "fieldname": "title", - "fieldtype": "Data", - "label": "Title" - }, { "fieldname": "app", "fieldtype": "Link", @@ -97,11 +92,17 @@ "fieldtype": "Table", "label": "Roles", "options": "Has Role" + }, + { + "fieldname": "title", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Title" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2025-04-22 12:13:31.623301", + "modified": "2025-04-22 14:23:22.929746", "modified_by": "Administrator", "module": "Marketplace", "name": "Marketplace App Plan",