diff --git a/customer/user/wallet.go b/customer/user/wallet.go index 89f1ae8..41682d5 100644 --- a/customer/user/wallet.go +++ b/customer/user/wallet.go @@ -21,11 +21,13 @@ const ( ) type ArgsWalletDirect struct { - UserId uint // 客户id - WalletType walletType // 收支类型 - Amount decimal.Decimal // 金额 正数 - ServiceId uint // 服务id - Remark string // 备注信息 + UserId uint // 客户id + WalletType walletType // 收支类型 + Amount decimal.Decimal // 金额 正数 + ServiceId uint // 服务id + TradeChannel string // 交易渠道 + TradeSerialSn string // 交易渠道流水号 + Remark string // 备注信息 } // Direct @Title 直接消费 @@ -39,12 +41,14 @@ func (w *wallet) Direct(ctx context.Context, args ArgsWalletDirect) error { } type ArgsWalletCreate struct { - UserId uint // 客户id - WalletType walletType // 收支类型 - Amount decimal.Decimal // 金额 正数 - ServiceId uint // 服务id - Remark string // 备注信息 - CancelSecond int64 // 自动取消秒 + UserId uint // 客户id + WalletType walletType // 收支类型 + Amount decimal.Decimal // 金额 正数 + ServiceId uint // 服务id + TradeChannel string // 交易渠道 + TradeSerialSn string // 交易渠道流水号 + Remark string // 备注信息 + CancelSecond int64 // 自动取消秒 } // Create @Title 创建消费