diff --git a/customer/user/wallet.go b/customer/user/wallet.go index 257428b..1e66787 100644 --- a/customer/user/wallet.go +++ b/customer/user/wallet.go @@ -13,8 +13,6 @@ type walletType uint // 费用类型 const ( WalletTypeIncome walletType = 1 // 收入 + WalletTypeExpend walletType = 2 // 支出 - - WalletTypeBack walletType = 3 // 退款 + - WalletTypeCash walletType = 4 // 提现 - WalletStatusHandle = 1 // 处理中 WalletStatusSuccess = 2 // 成功 @@ -28,6 +26,7 @@ type ArgsWalletDirect struct { ServiceId uint // 服务id TradeChannel string // 交易渠道 TradeSerialSn string // 交易渠道流水号 + Title string // 收支标题 Remark string // 备注信息 } @@ -48,6 +47,7 @@ type ArgsWalletCreate struct { ServiceId uint // 服务id TradeChannel string // 交易渠道 TradeSerialSn string // 交易渠道流水号 + Title string // 收支标题 Remark string // 备注信息 CancelSecond int64 // 自动取消秒 }