add bank
This commit is contained in:
@@ -251,12 +251,16 @@ type (
|
||||
Id string `json:"id"` // 主键
|
||||
AgentId string `json:"agent_id"` // 代理ID
|
||||
WithdrawNo string `json:"withdraw_no"` // 提现单号
|
||||
WithdrawMethod int64 `json:"withdraw_method"` // 提现方式:1=支付宝,2=银行卡
|
||||
Amount float64 `json:"amount"` // 金额
|
||||
TaxAmount float64 `json:"tax_amount"` // 税费金额
|
||||
ActualAmount float64 `json:"actual_amount"` // 实际到账金额
|
||||
Status int64 `json:"status"` // 状态
|
||||
PayeeAccount string `json:"payee_account"` // 收款账户
|
||||
PayeeName string `json:"payee_name"` // 收款人姓名
|
||||
BankName string `json:"bank_name"` // 开户行
|
||||
BankCardNo string `json:"bank_card_no"` // 银行卡号(掩码)
|
||||
BankReservedMobile string `json:"bank_reserved_mobile"` // 银行预留手机号
|
||||
Remark string `json:"remark"` // 备注
|
||||
CreateTime string `json:"create_time"` // 创建时间
|
||||
}
|
||||
|
||||
@@ -568,20 +568,28 @@ type (
|
||||
WithdrawalItem {
|
||||
Id string `json:"id"` // 记录ID
|
||||
WithdrawalNo string `json:"withdrawal_no"` // 提现单号
|
||||
WithdrawMethod int64 `json:"withdraw_method"` // 提现方式:1=支付宝,2=银行卡
|
||||
Amount float64 `json:"amount"` // 提现金额
|
||||
TaxAmount float64 `json:"tax_amount"` // 税费金额
|
||||
ActualAmount float64 `json:"actual_amount"` // 实际到账金额
|
||||
Status int64 `json:"status"` // 状态:1=待审核,2=审核通过,3=审核拒绝,4=提现中,5=提现成功,6=提现失败
|
||||
PayeeAccount string `json:"payee_account"` // 收款账户
|
||||
PayeeName string `json:"payee_name"` // 收款人姓名
|
||||
BankName string `json:"bank_name"` // 开户行
|
||||
BankCardNo string `json:"bank_card_no"` // 银行卡号(掩码)
|
||||
BankReservedMobile string `json:"bank_reserved_mobile"` // 银行预留手机号
|
||||
Remark string `json:"remark"` // 备注
|
||||
CreateTime string `json:"create_time"` // 创建时间
|
||||
}
|
||||
// 申请提现
|
||||
ApplyWithdrawalReq {
|
||||
Amount float64 `json:"amount"` // 提现金额
|
||||
PayeeAccount string `json:"payee_account"` // 收款账户
|
||||
PayeeName string `json:"payee_name"` // 收款人姓名
|
||||
Amount float64 `json:"amount"` // 提现金额
|
||||
WithdrawMethod int64 `json:"withdraw_method"` // 提现方式:1=支付宝,2=银行卡
|
||||
PayeeAccount string `json:"payee_account"` // 收款账户(支付宝)
|
||||
PayeeName string `json:"payee_name"` // 收款人姓名/持卡人姓名
|
||||
BankName string `json:"bank_name,optional"` // 开户行(银行卡必填)
|
||||
BankCardNo string `json:"bank_card_no,optional"` // 银行卡号(银行卡必填)
|
||||
BankReservedMobile string `json:"bank_reserved_mobile,optional"` // 银行预留手机号(银行卡必填)
|
||||
}
|
||||
ApplyWithdrawalResp {
|
||||
WithdrawalId string `json:"withdrawal_id"` // 提现记录ID
|
||||
|
||||
Reference in New Issue
Block a user