package http_model type SupplierAmountRequest struct { SupplierId int `json:"supplier_id"` // 服务商ID SupplierType int `json:"supplier_type"` // 服务商用户类型,1为个人PR,2为机构 } type SupplierBillAmountData struct { FullAmount float64 `json:"full_amount"` // 总余额 Settle float64 `json:"settle"` // 可提现 } func SupplierBillAmountRequest() *SupplierAmountRequest { return new(SupplierAmountRequest) } func SupplierBillAmountResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(SupplierBillAmountData) return resp }