feat(discount): change discount type to float64 for improved precision

This commit is contained in:
Tension
2025-12-28 22:04:50 +08:00
parent 495c4529ed
commit 7a2000f696
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -204,8 +204,8 @@ type (
CurrencySymbol string `json:"currency_symbol"`
}
SubscribeDiscount {
Quantity int64 `json:"quantity"`
Discount int64 `json:"discount"`
Quantity int64 `json:"quantity"`
Discount float64 `json:"discount"`
}
Subscribe {
Id int64 `json:"id"`