You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.9 KiB

package request
type AddAccount struct {
AccountName string `json:"accountName"` // 户名
BankCode string `json:"bank_code"` // 银行编码
SwiftCode string `json:"swift_code"` // swift编码
CardNumber string `json:"card_number"` // 银行卡号
Address string `json:"address"` // 收款人地址
Country string `json:"country"` // 国家/地区
Currency string `json:"currency"` // 币种 USD: 美元
IsDefault bool `json:"is_default"` // 是否默认
}
type DeleteAccount struct {
ID uint `json:"id" form:"id"` //主键
Phone string `json:"phone"` //手机号
Code string `json:"code"` //验证码
}
type SearchCommission struct {
Receipt int `json:"receipt" form:"receipt"` //是否已到账 1-可用 2-在途
StartTime string `json:"startTime" form:"startTime"` //查询开始时间
EndTime string `json:"endTime" form:"endTime"` //查询结束时间
PageInfo
}
type SearchWithdrawal struct {
Status int `json:"status"` //类型 1-支出 2-收入
PageInfo
}
type Withdrawal struct {
AccountID int `json:"accountID"` //账户id
Phone string `json:"phone"` //账户绑定手机号
Code string `json:"code"` //验证码
Amount float64 `json:"amount"` //提现金额
}
type FundRecharge struct {
PayMode int `json:"payMode"` //支付方式 1-paypal
Amount float64 `json:"amount"` // 充值金额
}
type WithdrawalParams struct {
Code string `json:"code"` // 验证码
Amount float64 `json:"amount"` // 提现金额
AccountID int `json:"accountID"` // 提现账户id
}
type WithdrawalSearch struct {
WalletType int `json:"wallet_type" form:"wallet_type"` //
PageInfo
}
type BillFundSearch struct {
StartTime string `json:"startTime" form:"startTime"` //查询开始时间
EndTime string `json:"endTime" form:"endTime"` //查询结束时间
PageInfo
}