refactor(listing): 卖家发布定价改用整数分与基点

This commit is contained in:
yml2213
2026-10-30 14:49:33 +08:00
parent 37e1980d2d
commit ce93f1636d
18 changed files with 1492 additions and 343 deletions
@@ -136,6 +136,7 @@ func (r *Repository) AdjustExternalListing(
breakdown["external_admin_adjust_reason"] = strings.TrimSpace(req.Reason)
breakdown["external_admin_adjusted_at"] = now.Format(time.RFC3339)
breakdown["external_admin_adjusted_by"] = adminID
syncCanonicalPriceBreakdownFromLegacy(breakdown)
summary["price_breakdown"] = breakdown
assetSummary, err := marshalAssetSummary(summary)