feat: 添加mock 数据

This commit is contained in:
zdl
2025-12-09 15:08:15 +08:00
parent c61d58b0e3
commit 2148d319ad
2 changed files with 476 additions and 244 deletions

View File

@@ -43,12 +43,10 @@ export const companyHandlers = [
const { stockCode } = params;
const data = getCompanyData(stockCode);
// 直接返回 keyFactorsTimeline 对象(包含 key_factors 和 development_timeline
return HttpResponse.json({
success: true,
data: {
timeline: data.keyFactorsTimeline,
total: data.keyFactorsTimeline.length
}
data: data.keyFactorsTimeline
});
}),