account_income.go 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. package http_model
  2. type TalentInfoRequest struct {
  3. TalentId string `json:"talent_id"`
  4. }
  5. type TalentInfoResponse struct {
  6. Income float32 `json:"income"` // 收益总数
  7. Withdrawing float32 `json:"withdrawing"` // 提现中金额
  8. Canwithdraw float32 `json:"canwithdraw"` // 可提现金额
  9. Withdrawed float32 `json:"withdrawed"` // 已提现金额
  10. DetailAddr string `json:"detail_addr"` // 详细地址
  11. PhoneNumber string `json:"phone_number"` // 联系电话
  12. ReceiverName string `json:"receiver_name"` // 收货人名字
  13. Bank string `json:"bank"` // 银行
  14. Name string `json:"name"` // 户主姓名
  15. BankOpenAddress string `json:"bank_open_address"` // 开户地址区域编码
  16. BankCardNumber string `json:"bank_card_number"` // 银行卡号
  17. AliPayNumber string `json:"ali_pay_number"` // 支付宝账号
  18. AliPayRealName string `json:"ali_pay_real_name"` // 支付宝真实姓名
  19. }
  20. func NewTalentInfoRequest() *TalentInfoRequest {
  21. return new(TalentInfoRequest)
  22. }
  23. func NewTalentInfoResponse() *CommonResponse {
  24. resp := new(CommonResponse)
  25. resp.Data = new(TalentInfoResponse)
  26. return resp
  27. }