feat: 添加AI推荐功能及自动刷新机制

新增AI推荐模块,包括后端数据获取接口和前端展示组件
实现自动刷新功能,每5分钟自动更新当前标签页数据
添加手动刷新按钮,优化用户交互体验
This commit is contained in:
dmy
2026-01-14 01:06:15 +08:00
parent 8e4429558c
commit 6a9c52fe10
8 changed files with 317 additions and 6 deletions

View File

@@ -1,5 +1,23 @@
export namespace main {
export class AiRecommendation {
id: string;
title: string;
confidence: number;
createdAt: string;
static createFrom(source: any = {}) {
return new AiRecommendation(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.title = source["title"];
this.confidence = source["confidence"];
this.createdAt = source["createdAt"];
}
}
export class BidItem {
id: string;
title: string;