更新 app/api/v1/app_valuations/app_valuations.py

This commit is contained in:
dubingyan666 2025-11-26 21:04:28 +08:00
parent b0c80c500f
commit 831560592f

View File

@ -551,7 +551,7 @@ async def _extract_calculation_params_b3(data: UserValuationCreate) -> Dict[str,
price_fluctuation = [float(i) for i in data.price_fluctuation]
highest_price, lowest_price = max(price_fluctuation), min(price_fluctuation)
# lawsuit_status = "无诉讼" # 诉讼状态 TODO (API获取)
inheritor_ages = data.inheritor_age_count # [45, 60, 75] # 传承人年龄列表
inheritor_ages = [float(i) for i in data.inheritor_age_count] # [45, 60, 75] # 传承人年龄列表
return {
"highest_price": highest_price,
"lowest_price": lowest_price,