新增了首单立减金额

This commit is contained in:
2024-09-09 11:14:05 +08:00
parent 747a060c2d
commit bb17607133
5 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ type PutSystemMember struct {
Price float64 `json:"price" form:"price" label:"价格(原价)" validate:"required,numeric,min=0"`
DiscountPrice *float64 `json:"discount_price" form:"discount_price" label:"优惠价格" validate:"omitempty,numeric,min=0"`
DiscountEndTime *string `json:"discount_end_time" form:"discount_end_time" label:"优惠截止时间"`
FirstTimePrice *float64 `json:"first_time_price" form:"first_time_price" label:"首次购买价格"`
ReductionAmount *float64 `json:"reduction_amount" form:"reduction_amount" label:"首单立减金额"`
}
// AddSystemMember 新增会员配置
@@ -20,5 +20,5 @@ type AddSystemMember struct {
Price float64 `json:"price" form:"price" label:"价格(原价)" validate:"required,numeric,min=0"`
DiscountPrice *float64 `json:"discount_price" form:"discount_price" label:"优惠价格" validate:"omitempty,numeric,min=0"`
DiscountEndTime *string `json:"discount_end_time" form:"discount_end_time" label:"优惠截止时间"`
FirstTimePrice *float64 `json:"first_time_price" form:"first_time_price" label:"首次购买价格"`
ReductionAmount *float64 `json:"reduction_amount" form:"reduction_amount" label:"首单立减金额"`
}