rpc.go 759 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package model
  2. // ArgBanner for banner func
  3. type ArgBanner struct {
  4. Plat int8
  5. Build int
  6. AID int64
  7. MID int64
  8. ResIDs string
  9. Channel string
  10. IP string
  11. Buvid string
  12. Network string
  13. MobiApp string
  14. Device string
  15. IsAd bool
  16. OpenEvent string
  17. AdExtra string
  18. Version string
  19. }
  20. // ArgRes for resource func
  21. type ArgRes struct {
  22. ResID int
  23. }
  24. // ArgRess for resources func
  25. type ArgRess struct {
  26. ResIDs []int
  27. }
  28. // ArgPaster for paster func
  29. type ArgPaster struct {
  30. Platform int8
  31. AdType int8
  32. Aid string
  33. TypeId string
  34. TypeID string
  35. Buvid string
  36. }
  37. // ArgCmtbox for ctmbox
  38. type ArgCmtbox struct {
  39. ID int64
  40. }
  41. // ArgAbTest for abTest
  42. type ArgAbTest struct {
  43. Groups string
  44. IP string
  45. }