feat(video-analysis): 完成视频分析模块迭代任务
Bug 修复:
- T-019: 修复品牌API响应解析,正确解析 data[0].brand_name
- T-020: 添加品牌API Bearer Token认证
视频分析功能:
- T-021: SessionID池服务,从内部API获取Cookie列表
- T-022: SessionID自动重试,失效时自动切换重试
- T-023: 巨量云图API封装,支持超时和错误处理
- T-024: 视频分析数据接口 GET /api/v1/videos/{item_id}/analysis
- T-025: 数据库A3指标更新
- T-026: 视频分析前端页面,展示6大类25+指标
测试覆盖率:
- brand_api.py: 100%
- session_pool.py: 100%
- yuntu_api.py: 100%
- video_analysis.py: 99%
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import VideoAnalysis from '@/components/VideoAnalysis';
|
||||
|
||||
export default function AnalysisPage() {
|
||||
return (
|
||||
<main className="min-h-screen bg-gray-50 py-8">
|
||||
<div className="max-w-6xl mx-auto px-4">
|
||||
<div className="mb-6">
|
||||
<a href="/" className="text-indigo-600 hover:text-indigo-800">
|
||||
← 返回查询
|
||||
</a>
|
||||
</div>
|
||||
<VideoAnalysis />
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
@@ -53,7 +53,13 @@ export default function Home() {
|
||||
{pageState === 'default' && (
|
||||
<div className="bg-white rounded-lg shadow-sm p-12 text-center">
|
||||
<div className="text-gray-400 text-6xl mb-4">🔍</div>
|
||||
<p className="text-gray-500">请选择查询方式并输入查询条件</p>
|
||||
<p className="text-gray-500 mb-4">请选择查询方式并输入查询条件</p>
|
||||
<a
|
||||
href="/analysis"
|
||||
className="text-sm text-indigo-600 hover:text-indigo-800"
|
||||
>
|
||||
或前往视频分析页面 →
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user