rpc.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package model
  2. // ArgLike .
  3. type ArgLike struct {
  4. Mid int64
  5. UpMid int64
  6. Business string
  7. OriginID int64
  8. MessageID int64
  9. Type int8
  10. RealIP string
  11. }
  12. // ArgHasLike .
  13. type ArgHasLike struct {
  14. Business string
  15. MessageIDs []int64
  16. Mid int64
  17. RealIP string
  18. }
  19. // ArgStats .
  20. type ArgStats struct {
  21. Business string
  22. OriginID int64
  23. MessageIDs []int64
  24. RealIP string
  25. }
  26. // ArgStatsWithLike .
  27. type ArgStatsWithLike struct {
  28. Mid int64
  29. Business string
  30. OriginID int64
  31. MessageIDs []int64
  32. RealIP string
  33. }
  34. // ArgUserLikes .
  35. type ArgUserLikes struct {
  36. Business string
  37. Mid int64
  38. Pn, Ps int
  39. RealIP string
  40. }
  41. // ArgItemLikes .
  42. type ArgItemLikes struct {
  43. Business string
  44. OriginID int64
  45. MessageID int64
  46. Mid int64
  47. Pn, Ps int
  48. RealIP string
  49. }
  50. // ArgUpdateCount .
  51. type ArgUpdateCount struct {
  52. Business string
  53. OriginID int64
  54. MessageID int64
  55. LikeChange int64
  56. DislikeChange int64
  57. Operator string
  58. RealIP string
  59. }
  60. // ArgRawStats .
  61. type ArgRawStats struct {
  62. Business string
  63. OriginID int64
  64. MessageID int64
  65. RealIP string
  66. }