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.
25 lines
859 B
25 lines
859 B
9 months ago
|
package request
|
||
|
|
||
|
type AddAccount struct {
|
||
|
AccountName string `json:"account_name"` // 户名
|
||
|
BankCode string `json:"bank_code"` // 银行编码
|
||
|
SwiftCode string `json:"swift_code"` // swift编码
|
||
|
BankCard string `json:"bank_card"` // 银行卡号
|
||
|
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"` //主键
|
||
|
Phone string `json:"phone"` //手机号
|
||
|
Code string `json:"code"` //验证码
|
||
|
}
|
||
|
|
||
|
type WithdrawalParams struct {
|
||
|
//Code string `json:"code"` // 验证码
|
||
|
Amount float64 `json:"amount"` // 提现金额
|
||
|
AccountID int `json:"accountID"` // 提现账户id
|
||
|
}
|