Skip to content

Update mulit-modal price control policy#1250

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2700_e9dd498
Jul 9, 2026
Merged

Update mulit-modal price control policy#1250
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2700_e9dd498

Conversation

@Rader

@Rader Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Refactored multi-modal pricing to support resolution-based tiered pricing (e.g., 720P/1080P) by replacing in-memory grouping with a two-stage database query and moving resolution matching logic to memory.
  • Improved type safety by converting SkuKind from string to int across the accounting module, eliminating unsafe string conversions.
  • Introduced new batch creation and distinct price query APIs to ensure atomic updates and proper grouping of price details.

@Rader

Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1249

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886
HaiHui886 merged commit c438f1a into main Jul 9, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2700_e9dd498 branch July 9, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants