fix(frontend): 京东采集撤出亚马逊工具台(2026-11-15 用户口径:不要出现在亚马逊那边)——amazon/tool-catalog.ts 移除 jd 卡片/渐变/图标/详情四处;入口收敛到首页一级「京东」工作台(pages/jd/tool-catalog.ts 自带「获取店铺数据」卡,路由 /jd-collect 与 endpoints 不动);amazon-tool-catalog.test.ts 21→20/前端组9→8并加「京东不出现在亚马逊」绊线;jd-collect-tab.test.ts AC-1 契约改为钉京东工作台卡片形状

This commit is contained in:
2026-11-15 17:20:58 +08:00
parent 5d5330d0c9
commit 7a117187b7
3 changed files with 25 additions and 23 deletions
@@ -132,13 +132,6 @@ export const TOOL_GROUPS: ReadonlyArray<ToolGroup> = [
href: '/convert',
permissionKeys: ['convert'],
},
{
id: 'jd',
name: '京东采集',
desc: '采集京东店铺商品列表与详情全部属性,同步到后台京东数据库',
href: '/jd-collect',
permissionKeys: ['jd-collect', 'jd_collect'],
},
],
},
{
@@ -287,7 +280,6 @@ export const TOOL_ICON_GRADIENTS: Record<string, string> = {
shop: 'linear-gradient(180deg, #93C5FD, #3B82F6)',
purchase: 'linear-gradient(180deg, #C4B5FD, #8B5CF6)',
erp: 'linear-gradient(180deg, #F9A8D4, #EC4899)',
jd: 'linear-gradient(180deg, #FCA5A5, #DC2626)',
}
/**
@@ -335,8 +327,6 @@ export const TOOL_ICON_SHAPES: Record<string, string> = {
purchase: '<path d="M10 14 L34 14 L30 34 L14 34 Z"/><line x1="34" y1="14" x2="40" y2="14"/><line x1="40" y1="14" x2="38" y2="20"/><circle class="fill" cx="19" cy="39" r="3"/><circle class="fill" cx="33" cy="39" r="3"/>',
// ERP:网格
erp: '<rect x="8" y="8" width="32" height="32"/><line x1="24" y1="8" x2="24" y2="40"/><line x1="8" y1="24" x2="40" y2="24"/>',
// 京东采集:商品袋
jd: '<path d="M12 16 L36 16 L34 38 L14 38 Z"/><path d="M19 16 A 5 6 0 0 1 29 16"/><circle class="fill" cx="19" cy="26" r="2"/><circle class="fill" cx="29" cy="26" r="2"/>',
}
export const TOOL_MAP: ReadonlyMap<string, ToolInfo> = new Map(
@@ -359,7 +349,6 @@ export const TOOL_DETAILS: Readonly<Record<string, string>> = {
qasin: '通过店小蜜导出出单 ASIN,上传后台,时不时排查是否还在店铺售卖,确保优质数据时刻在店。',
scrape:
'没排名、久未出单数据可优化删除;获取店铺所有数据的排名、品牌和销售情况。半个月到一个月复查一次品牌,确保数据没有被注册。',
jd: '在本机已登录京麦的窗口里采集店铺商品(列表 + 详情全部属性 + 图片),同步到后台「京东数据库」。任务由本机客户端执行,提交后保持客户端在线。',
}
export type VisibleGroup = ToolGroup & { tools: ToolInfo[] }