refactor(platform): 平台收敛为抖音——移除小红书全链路,监控账号新增画像字段与卡片列表
- 移除小红书:internal/platform/xiaohongshu、controlplane XHS 分支与路由、 browser_gateway XHS 平台模块与处理器、前端平台选项;migration 038 清理 XHS 数据并将 creator_* 平台 CHECK 收紧为 douyin - creator_competitor 新增 follower_count/following_count/aweme_count(仅 接口定义返回,暂不采集回填);列表接口返回 work_count 与 latest_published_at(creator_work_source 聚合 MAX(published_at)) - 导入页账号名称列展示作者头像(share job 列表带出 avatar_url) - 监控账号页改 antd Listy 卡片列表(头像+粉丝/关注/作品/最近发布/同步状态); AccountManagementList 收敛为 owned 专用 - 环境模块清理 browser_version 遗留:migration 034 补齐删列,修复 store.go 中 hub 别名悬空引用,测试 fixture 对齐新 schema
This commit is contained in:
@@ -49,8 +49,8 @@ func TestCreatorGatewayBrowserResolveAndSharePlatformValidation(t *testing.T) {
|
||||
}{
|
||||
{value: "https://www.douyin.com/video/1", platform: creator.PlatformDouyin},
|
||||
{value: "https://v.douyin.com/abc", platform: creator.PlatformDouyin},
|
||||
{value: "https://www.xiaohongshu.com/explore/1", platform: creator.PlatformXiaohongshu},
|
||||
{value: "https://xhslink.com/abc", platform: creator.PlatformXiaohongshu},
|
||||
{value: "https://www.xiaohongshu.com/explore/1", wantErr: true},
|
||||
{value: "https://xhslink.com/abc", wantErr: true},
|
||||
{value: "http://www.douyin.com/video/1", wantErr: true},
|
||||
{value: "https://user@www.douyin.com/video/1", wantErr: true},
|
||||
{value: "https://www.douyin.com:443/video/1", wantErr: true},
|
||||
|
||||
Reference in New Issue
Block a user