feat(benefits): 增加权益中心
This commit is contained in:
@@ -17,12 +17,23 @@ var (
|
||||
)
|
||||
|
||||
type SummaryDTO struct {
|
||||
AvailablePoints int64 `json:"available_points"`
|
||||
LifetimePoints int64 `json:"lifetime_points"`
|
||||
LevelCode string `json:"level_code"`
|
||||
LevelName string `json:"level_name"`
|
||||
PointsPerYuan int64 `json:"points_per_yuan"`
|
||||
PointsMultiplierBps int `json:"points_multiplier_bps"`
|
||||
AvailablePoints int64 `json:"available_points"`
|
||||
LifetimePoints int64 `json:"lifetime_points"`
|
||||
LevelCode string `json:"level_code"`
|
||||
LevelName string `json:"level_name"`
|
||||
PointsPerYuan int64 `json:"points_per_yuan"`
|
||||
PointsMultiplierBps int `json:"points_multiplier_bps"`
|
||||
GrowthEnabled bool `json:"growth_enabled"`
|
||||
Levels []GrowthLevelDTO `json:"levels"`
|
||||
}
|
||||
|
||||
type GrowthLevelDTO struct {
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
MinPoints int64 `json:"min_points"`
|
||||
PointsMultiplierBps int `json:"points_multiplier_bps"`
|
||||
DiscountBps int `json:"discount_bps"`
|
||||
DepositFreeQuotaCent int64 `json:"deposit_free_quota_cent"`
|
||||
}
|
||||
|
||||
type ProductDTO struct {
|
||||
|
||||
Reference in New Issue
Block a user