feat: 添加mock接口

This commit is contained in:
zdl
2025-11-03 17:31:25 +08:00
parent 8ebfad9992
commit 6a0a8e8e2b
2 changed files with 32 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ const generateStocksForConcept = (seed, count = 4) => {
};
// 生成热门概念数据
const generatePopularConcepts = (size = 20) => {
export const generatePopularConcepts = (size = 20) => {
const concepts = [
'人工智能', '新能源汽车', '半导体', '光伏', '锂电池',
'储能', '氢能源', '风电', '特高压', '工业母机',