main #2

Merged
jingrow merged 250 commits from main into v1 2026-01-13 22:45:50 +08:00
Showing only changes of commit 6a3ead8b46 - Show all commits

View File

@ -1557,6 +1557,11 @@ def update_server_record(instance_ids):
# 更新planid
server.planid = plan_id
# 直接从实例信息获取plan_type
plan_type = instance_info.get('plan_type')
if plan_type:
server.plan_type = plan_type
# 获取套餐信息来计算价格
plans_result = get_aliyun_plans(region_id)
if plans_result and plans_result.get('success') and plans_result.get('data', {}).get('plans'):