fix(bridge): 商机漏建兜底与匿名线索

This commit is contained in:
wangliang
2026-10-23 14:22:14 +08:00
parent 22d96edee6
commit 9ce3120648
6 changed files with 238 additions and 18 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ function createOpportunityService({ cfg, twenty, leadStore, client }) {
function summaryFor({ ctx, slots, email, profile }) {
return [
`Company: ${slots.company}`,
`Contact: ${slots.contactName || '(not provided)'} <${email}>`,
`Contact: ${slots.contactName || '(not provided)'}${email ? ` <${email}>` : ''}`,
`Need: ${slots.productNeed}`,
slots.quantity ? `Quantity: ${slots.quantity}` : null,
slots.budget ? `Budget: ${slots.budget}` : null,