refactor(goods): 优化商品套餐去重逻辑和自动分账开关处理
- 移除套餐签名计数Map,直接在套餐内部进行商品去重校验 - 将套餐内商品去重逻辑从buildCommodityPositionKey改为buildPackageGoodsUniqueKey - 根据场景码区分商品唯一性校验策略:权益按商品ID,精品升级按商品ID+部位 - 统一自动分账开关判断逻辑,仅识别"是"/"否"中文文案 - 修复重复商品错误提示的索引位置显示问题
Showing
1 changed file
with
16 additions
and
23 deletions
-
Please register or sign in to post a comment