synthesis.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. package entity
  2. type OverviewReq struct {
  3. Page int `json:"page"`
  4. Size int `json:"size"`
  5. UserName string `json:"user_name"` // 用户名
  6. OpenId string `json:"openId"` // 对应tgid
  7. }
  8. type OverviewResp struct {
  9. Details []*OverviewDetail `json:"details"`
  10. Total int64 `json:"total"`
  11. }
  12. type OverviewDetail struct {
  13. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  14. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  15. FirstLoginDate int64 `json:"firstLoginDate"` // 用户首次登录日期
  16. CreateTime int64 `json:"createTime" bson:"createTime"` // 用户注册时间
  17. LastLoginTime int64 `json:"lastLoginTime" bson:"loginTime"` // 用户最后一次登录日期
  18. MaxSuccessions int `json:"maxSuccessions" bson:"maxSuccessions"` // 用户累计登录天数
  19. DieRoll int64 `json:"dieRoll"` // 用户骰子投掷次数
  20. CurrentIntegral int64 `json:"currentIntegral"` // 用户当前积分
  21. SuccessfulInvitations int64 `json:"successfulInvitations"` // 用户邀请成功人数
  22. Withdrawals int64 `json:"withdrawals"` // 用户提现次数(USDT)
  23. CumulativeWithdrawalAmount int64 `json:"cumulativeWithdrawalAmount"` // 用户累计提现金额(USDT)
  24. TurntableRuns int64 `json:"turntableRuns"` // 用户转盘实际抽奖次数
  25. PointsRanking int64 `json:"pointsRanking"` // 用户积分排名
  26. RankingOfDiceRolls int64 `json:"rankingOfDiceRolls"` // 用户骰子投掷次数排名
  27. InvitesRanking int64 `json:"invitesRanking"` // 用户邀请人数排名
  28. TonValue int64 `json:"tonValue"` // 用户账户Ton值
  29. UsdtValue int64 `json:"usdtValue"` // 用户账户USDT值
  30. }
  31. type UserListReq struct {
  32. Page int `json:"page"`
  33. Size int `json:"size"`
  34. UserName string `json:"user_name"` // 用户名
  35. OpenId string `json:"openId"` // 对应tgid
  36. }
  37. type UserListResp struct {
  38. Details []*UserListDetail `json:"details"`
  39. Total int64 `json:"total"`
  40. }
  41. type UserListDetail struct {
  42. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  43. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  44. CreateTime int64 `json:"createTime" bson:"createTime"` // 用户注册时间
  45. FirstLoginDate int64 `json:"firstLoginDate"` // 用户首次登录日期
  46. LoginIP string `json:"loginIP" bson:"loginIP"` // 登录IP
  47. LastLoginTime int64 `json:"lastLoginTime" bson:"loginTime"` // 用户最后一次登录日期
  48. TonWall string `json:"tonWall" bson:"tonWall"` // 绑定钱包地址
  49. Fingerprint string `json:"fingerprint"` // 指纹数据
  50. }
  51. type TurntableReq struct {
  52. Page int `json:"page"`
  53. Size int `json:"size"`
  54. UserName string `json:"user_name"` // 用户名
  55. OpenId string `json:"openId"` // 对应tgid
  56. }
  57. type TurntableResp struct {
  58. Details []*TurntableDetail `json:"details"`
  59. Total int64 `json:"total"`
  60. }
  61. type TurntableDetail struct {
  62. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  63. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  64. TurntableExecutionTime int64 `json:"turntableExecutionTime"` // 转盘执行时间
  65. PrizeName string `json:"prizeName"` // 抽奖奖品名
  66. PrizeNumber int64 `json:"prizeNumber"` // 抽奖奖品数量
  67. }
  68. type AssetsReq struct {
  69. Page int `json:"page"`
  70. Size int `json:"size"`
  71. UserName string `json:"user_name"` // 用户名
  72. OpenId string `json:"openId"` // 对应tgid
  73. }
  74. type AssetsResp struct {
  75. Details []*AssetsDetail `json:"details"`
  76. Total int64 `json:"total"`
  77. }
  78. type AssetsDetail struct {
  79. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  80. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  81. TonValue int64 `json:"tonValue"` // 用户账户Ton值
  82. UsdtValue int64 `json:"usdtValue"` // 用户账户USDT值
  83. StatisticalDate int64 `json:"statisticalDate"` // 统计日期
  84. }
  85. type AssetsRecordReq struct {
  86. Page int `json:"page"`
  87. Size int `json:"size"`
  88. UserName string `json:"user_name"` // 用户名
  89. OpenId string `json:"openId"` // 对应tgid
  90. }
  91. type AssetsRecordResp struct {
  92. Details []*AssetsRecordDetail `json:"details"`
  93. Total int64 `json:"total"`
  94. }
  95. type AssetsRecordDetail struct {
  96. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  97. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  98. AssetType string `json:"assetType"` // 资产增长类型
  99. AssetsGrowth int64 `json:"assetsGrowth"` // 资产增长数量
  100. AcquisitionTime int64 `json:"acquisitionTime"` // 获取资产时间
  101. SourceOfAssetAcquisition string `json:"sourceOfAssetAcquisition"` // 资产获取来源
  102. }
  103. type InviteReq struct {
  104. Page int `json:"page"`
  105. Size int `json:"size"`
  106. UserName string `json:"user_name"` // 用户名
  107. OpenId string `json:"openId"` // 对应tgid
  108. }
  109. type InviteResp struct {
  110. Details []*InviteDetail `json:"details"`
  111. Total int64 `json:"total"`
  112. }
  113. type InviteDetail struct {
  114. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  115. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  116. InvitationHits int64 `json:"invitationHits"` // 邀请按钮点击次数
  117. InviteID string `json:"inviteID"` // 被邀请成功用户ID
  118. IfInviteVIP bool `json:"ifInviteVIP"` // 被邀请人是否为telegram会员
  119. InviteTime int64 `json:"inviteTime"` // 邀请成功时间
  120. SuccessfulInvitationsLV2 int64 `json:"successfulInvitationsLV2"` // 被邀请成功用户lv>2的人数
  121. CumulativesuccessfulInvitations int64 `json:"cumulativesuccessfulInvitations"` // 累计邀请成功人数
  122. InvitationChannel string `json:"invitationChannel"` // 邀请渠道记录
  123. }
  124. type ActiveReq struct {
  125. Page int `json:"page"`
  126. Size int `json:"size"`
  127. UserName string `json:"user_name"` // 用户名
  128. OpenId string `json:"openId"` // 对应tgid
  129. }
  130. type ActiveResp struct {
  131. Details []*ActiveDetail `json:"details"`
  132. Total int64 `json:"total"`
  133. }
  134. type ActiveDetail struct {
  135. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  136. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  137. IfUserVip bool `json:"ifUserVip"` // 用户Telegram会员身份
  138. CreateTime int64 `json:"createTime" bson:"createTime"` // 用户注册时间
  139. LastLoginTime int64 `json:"lastLoginTime" bson:"loginTime"` // 用户最后一次登录日期
  140. MaxSuccessions int `json:"maxSuccessions" bson:"maxSuccessions"` // 用户累计登录天数
  141. DieHits int64 `json:"dieHits"` // 用户骰子点击次数
  142. InvitationHits int64 `json:"invitationHits"` // 邀请按钮点击次数
  143. SuccessfulInvitations int64 `json:"successfulInvitations"` // 用户邀请成功人数
  144. Withdrawals int64 `json:"withdrawals"` // 用户提现次数
  145. CumulativeWithdrawalAmount int64 `json:"cumulativeWithdrawalAmount"` // 用户累计提现金额
  146. TurntableClicks int64 `json:"turntableClicks"` // 用户转盘点击次数
  147. TurntableRuns int64 `json:"turntableRuns"` // 用户转盘实际抽奖次数
  148. }
  149. type TaskCompletionReq struct {
  150. Page int `json:"page"`
  151. Size int `json:"size"`
  152. UserName string `json:"user_name"` // 用户名
  153. OpenId string `json:"openId"` // 对应tgid
  154. }
  155. type TaskCompletionResp struct {
  156. Details []*TaskCompletionDetail `json:"details"`
  157. Total int64 `json:"total"`
  158. }
  159. type TaskCompletionDetail struct {
  160. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  161. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  162. DicePerDay int64 `json:"dicePerDay"` // 每日骰子数量
  163. IsJoinTgChannel bool `json:"isJoinTgChannel"` // 是否加入TG频道
  164. IsFollowTwitter bool `json:"isFollowTwitter"` // 是否关注推特
  165. IsJoinDcChannel bool `json:"isJoinDcChannel"` // 是否加入DC频道
  166. IsBindTwitter bool `json:"isBindTwitter"` // 是否绑定推特
  167. IsFollowYoutube bool `json:"isFollowYoutube"` // 是否关注Youtube账号
  168. InviteNumber int64 `json:"inviteNumber"` // 邀请好友数量
  169. }
  170. type BehaviorMonitoringReq struct {
  171. Page int `json:"page"`
  172. Size int `json:"size"`
  173. UserName string `json:"user_name"` // 用户名
  174. OpenId string `json:"openId"` // 对应tgid
  175. }
  176. type BehaviorMonitoringResp struct {
  177. Details []*BehaviorMonitoringDetail `json:"details"`
  178. Total int64 `json:"total"`
  179. }
  180. type BehaviorMonitoringDetail struct {
  181. UserName string `json:"userName" bson:"userName"` // 用户名 用户ID
  182. OpenId string `json:"openId" bson:"openId"` // 对应tgid
  183. DieExecutionTime int64 `json:"dieExecutionTime"` // 骰子游戏执行时间
  184. }