create_supplier_withdraw.go 1.2 KB

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