supplier_withdraw_amount.go 566 B

123456789101112131415161718192021
  1. package http_model
  2. type WithdrawAmountRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. }
  5. type WithdrawAmountData struct {
  6. WithdrawAble float64 `json:"withdraw_able"` // 可提现
  7. PendingWithdraw float64 `json:"pending_withdraw"` // 提现中
  8. Withdrawn float64 `json:"withdrawn"` // 已提现
  9. }
  10. func NewWithdrawAmountRequest() *WithdrawAmountRequest {
  11. return new(WithdrawAmountRequest)
  12. }
  13. func NewWithdrawAmountResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(WithdrawAmountData)
  16. return resp
  17. }