Repository navigation
fix: show product channel multiplier in storefront - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与修复
生产商品 #10 的已发布版本只有渠道 #2,倍率为 0.75,但购买页从遗留
billing_multiplier=1.00读取并显示“版本基准价 ×1.00”。扣费逻辑已按渠道倍率执行;本 PR 只修正购买页接口展示。新渠道定价模式从
channel_rates读取倍率:单渠道或所有渠道倍率相同时展示该值;多渠道倍率不同时不声称存在一个统一倍率。历史价格版本继续读取原字段。验证
go test ./controller -run TestSubscriptionBillingMultipliersUseProductChannelRates -count=1通过。go test ./controller ./model ./relay/helper:2091 项通过。依据:IF.Link 30 号商品层方案;该 fork 的 Issues 已关闭,用户此前明确允许直接引用该方案。此改动由 AI 辅助完成。