income.go 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package http
  2. // ArgIncomeAssetOverview .
  3. type ArgIncomeAssetOverview struct {
  4. MID int64 `form:"mid" validate:"required"`
  5. }
  6. // RespIncomeAssetOverview .
  7. type RespIncomeAssetOverview struct {
  8. Total int64 `json:"total"`
  9. TotalBuyTimes int64 `json:"total_buy_times"`
  10. MonthNew int64 `json:"month_new"`
  11. DayNew int64 `json:"day_new"`
  12. }
  13. // ArgIncomeAssetMonthly .
  14. type ArgIncomeAssetMonthly struct {
  15. MID int64 `form:"mid" validate:"required"`
  16. Ver string `form:"ver"`
  17. }
  18. // RespIncomeAssetMonthly .
  19. type RespIncomeAssetMonthly struct {
  20. List []*RespIncomeAssetMonthlyByContent `json:"list"`
  21. }
  22. // RespIncomeAssetMonthlyByContent .
  23. type RespIncomeAssetMonthlyByContent struct {
  24. OID int64 `json:"oid"`
  25. OType string `json:"otype"`
  26. Currency string `json:"currency"`
  27. Price int64 `json:"price"`
  28. TotalBuyTimes int64 `json:"total_buy_times"`
  29. NewBuyTimes int64 `json:"new_buy_times"`
  30. TotalErrTimes int64 `json:"total_err_times"`
  31. NewErrTimes int64 `json:"new_err_times"`
  32. }