update: Added support for floating-point calculations for discounts

This commit is contained in:
EUForest
2025-11-21 17:39:57 +08:00
parent ff2d3f85f3
commit c1efb23354
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ type (
}
SubscribeDiscount {
Quantity int64 `json:"quantity"`
Discount int64 `json:"discount"`
Discount float64 `json:"discount"`
}
Subscribe {
Id int64 `json:"id"`