diff --git a/customer/user/wallet.go b/customer/user/wallet.go index 9df4525..a9ae2c0 100644 --- a/customer/user/wallet.go +++ b/customer/user/wallet.go @@ -11,8 +11,10 @@ type wallet struct { type walletType uint // 费用类型 const ( - WalletTypeIncome walletType = 1 // 收入 - WalletTypeExpend walletType = 2 // 支出 + WalletTypeIncome walletType = 1 // 收入 + WalletTypeExpend walletType = 2 // 支出 + WalletTypeBack = 3 // 退款 + WalletTypeConsumption = 4 // 消费 WalletStatusHandle = 1 // 处理中 WalletStatusSuccess = 2 // 成功 diff --git a/supply/sku.go b/supply/sku.go index 8b88e26..6579968 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -151,6 +151,7 @@ type SkuItem struct { AdjustPrice decimal.Decimal `json:"adjustPrice"` // 加价金额 AfterAdjustType uint `json:"afterAdjustType"` // 改价后加价类型 AfterAdjustPrice decimal.Decimal `json:"afterAdjustPrice"` // 改价后加价金额 + AfterPrice decimal.Decimal `json:"afterPrice"` // 改价记录 Reason string // 改价驳回原因 }