fix: get_pricing_display移除第一行标题,让定价项自然上提

This commit is contained in:
yumoqing 2026-07-20 19:46:55 +08:00
parent 270f95d2cf
commit e3909fef53

View File

@ -956,7 +956,7 @@ async def get_pricing_display(ppid, model=None):
currency = getattr(r, 'currency', 'CNY') currency = getattr(r, 'currency', 'CNY')
currency_symbols = {'CNY': '', 'USD': '$', 'JPY': '¥', 'GBP': '£'} currency_symbols = {'CNY': '', 'USD': '$', 'JPY': '¥', 'GBP': '£'}
currency_label = currency_symbols.get(currency, currency) currency_label = currency_symbols.get(currency, currency)
display_lines = [f"{getattr(r, 'name', '')}】定价: ({currency_label})"] display_lines = []
for item in items: for item in items:
# 构建过滤条件文本 # 构建过滤条件文本
filter_text = '' filter_text = ''