fix: 生成促销码绑点改用params_mapping传marketing_id,修复${id}$占位符未替换导致'Marketing not found'

This commit is contained in:
yumoqing 2026-08-05 16:52:50 +08:00
parent 1e771df6e5
commit 763e41b7eb

View File

@ -84,8 +84,14 @@
"cwidth": 16,
"cheight": 10
},
"params_mapping": {
"mapping": {
"id": "marketing_id"
},
"need_other": false
},
"options": {
"url": "{{entire_url('../api/gen_promo_from_mkt.dspy')}}?marketing_id=${id}$"
"url": "{{entire_url('../api/gen_promo_from_mkt.dspy')}}"
}
}
],