feat(app): update
This commit is contained in:
26
pkg/dto/refund/refund_dto.go
Normal file
26
pkg/dto/refund/refund_dto.go
Normal file
@ -0,0 +1,26 @@
|
||||
package refund
|
||||
|
||||
import "time"
|
||||
|
||||
type RefundDTO[T any] struct {
|
||||
TransactionId string // 支付交易号
|
||||
OutTransactionId string // 支付订单号
|
||||
RefundId string
|
||||
OutRefundId string
|
||||
RefundDetail T
|
||||
ChannelCode string
|
||||
}
|
||||
|
||||
type AliRefundDTO struct {
|
||||
BuyerLogonId string // 用户的登录id
|
||||
BuyerUserId string // 买家在支付宝的用户id
|
||||
RefundFee string // 退款总金额
|
||||
FundChange string // 接口返回fund_change=Y为退款成功,fund_change=N或无此字段值返回时需通过退款查询接口进一步确认退款状态
|
||||
SuccessTime time.Time // 退款支付时间
|
||||
}
|
||||
|
||||
type WxRefundDTO struct {
|
||||
UserReceivedAccount string
|
||||
SuccessTime time.Time
|
||||
CreateTime time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user