create_supplier_withdraw.go 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. package http_model
  2. type CreateSupplierWithdrawRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. SubAccountId int `json:"sub_account_id"` // 子账号ID
  5. InvoiceIds []int `json:"invoice_ids"` // 机构服务商提现列表
  6. IncomeIds []int `json:"income_ids"` // 个人服务商提现列表
  7. }
  8. type CompanySupplierWithdraw struct {
  9. InvoiceId int `json:"invoice_id"` // 回票ID
  10. BankName string `json:"bank_name"` // 开户银行
  11. BankNumber string `json:"bank_number"` // 银行卡号
  12. }
  13. type PersonSupplierWithdraw struct {
  14. IncomeId int `json:"income_id"` // 收入ID
  15. BankName string `json:"bank_name"` // 开户银行
  16. BankNumber string `json:"bank_number"` // 银行卡号
  17. Phone string `json:"phone"` // 银行预留手机号
  18. }
  19. type CreateSupplierWithdrawData struct {
  20. }
  21. func NewCreateSupplierWithdrawRequest() *CreateSupplierWithdrawRequest {
  22. return new(CreateSupplierWithdrawRequest)
  23. }
  24. func NewCreateSupplierWithdrawResponse() *CommonResponse {
  25. resp := new(CommonResponse)
  26. resp.Data = new(CreateSupplierWithdrawData)
  27. return resp
  28. }