fix(pdd): 彻底修复拼多多模板匹配被来源/平台/sku_code 误拦截
PDD 复用快手模板时,残留的 91kaquan/kuaishou 与误填 sku_code 会让 out_sku_sn 对上模板名仍未命中;改为 OR 匹配并放行常见残留,同时在匹配测试返回拒绝原因诊断。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -349,6 +349,26 @@ export function testAdminKuaishouProductMatch(rawPayload: string) {
|
||||
mappingId: number | null
|
||||
rule: WorkProductRule | null
|
||||
candidates: Array<{ ruleKey: string; score: number; mappingId: number | null }>
|
||||
diagnostics?: {
|
||||
outSkuSn: string
|
||||
orderProvider: string
|
||||
orderPlatform: string
|
||||
orderShopId: string
|
||||
contextSellerId: string
|
||||
legacyFallbackEnabled: boolean
|
||||
useLegacyFallback: boolean
|
||||
enabledRules: number
|
||||
enabledMappings: number
|
||||
rejectSamples: Array<{
|
||||
ruleKey: string
|
||||
productName: string
|
||||
provider: string
|
||||
platform: string
|
||||
shopId: string
|
||||
skuCode: string
|
||||
reason: string
|
||||
}>
|
||||
}
|
||||
}>('/api/v1/admin/worker-platform/product-match-test', { rawPayload })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user