supplier_bill_amount.go 590 B

123456789101112131415161718192021
  1. package http_model
  2. type SupplierAmountRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. SupplierType int `json:"supplier_type"` // 服务商用户类型,1为个人PR,2为机构
  5. }
  6. type SupplierBillAmountData struct {
  7. FullAmount float64 `json:"full_amount"` // 总余额
  8. Settle float64 `json:"settle"` // 可提现
  9. }
  10. func SupplierBillAmountRequest() *SupplierAmountRequest {
  11. return new(SupplierAmountRequest)
  12. }
  13. func SupplierBillAmountResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(SupplierBillAmountData)
  16. return resp
  17. }