debug: 添加成长路径返回数据日志
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yuliang_guo
2026-01-30 18:28:58 +08:00
parent 1f60012a97
commit 67b3c28d33

View File

@@ -507,6 +507,10 @@ class GrowthPathService:
completed_count = len(completed_node_ids)
total_progress = (completed_count / total_nodes * 100) if total_nodes > 0 else 0
logger.info(f"成长路径 {growth_path.id} 返回 {len(stages)} 个阶段, {total_nodes} 个节点")
for s in stages:
logger.info(f" 阶段 '{s.name}': {len(s.nodes)} 个节点")
return TraineeGrowthPathResponse(
id=growth_path.id,
name=growth_path.name,