feat(shipment): 添加兑换结算字段支持
- 在 GiftItem 结构体中添加 IsExchangeSettlement 字段 - 在 SaleProductItem 结构体中添加 IsExchangeSettlement 字段 - 更新数据结构以支持兑换结算业务场景
This commit is contained in:
@@ -42,6 +42,7 @@ type GiftItem struct {
|
||||
Sort int64 `json:"sort"`
|
||||
IsSerial int64 `json:"isSerial"`
|
||||
IsCustoms int64 `json:"isCustoms"`
|
||||
IsExchangeSettlement int64 `json:"isExchangeSettlement"`
|
||||
CreatedAt *time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ type SaleProductItem struct {
|
||||
PurchaseAmount decimal.Decimal `json:"purchaseAmount"`
|
||||
IsSerial int64 `json:"isSerial"`
|
||||
IsCustoms int64 `json:"isCustoms"`
|
||||
IsExchangeSettlement int64 `json:"isExchangeSettlement"`
|
||||
CreatedAt *time.Time `json:"createdAt"`
|
||||
UpdatedAt *time.Time `json:"updatedAt"`
|
||||
Children []*SaleProductItem `json:"children"`
|
||||
|
||||
Reference in New Issue
Block a user