data.go 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package agent
  2. // 代理信息
  3. type info_out struct {
  4. Members int // 会员数
  5. ValidMembers int // 有效会员数
  6. Commission int // 佣金
  7. Profit int // 收益(已提取)
  8. Enabled int // 是否启用(1=启用 其他关闭)
  9. Crdate string // 创建时间
  10. }
  11. // 统计信息
  12. type stat_out struct {
  13. Commission int // 佣金
  14. Profit int // 收益(已提取)
  15. RecordCount int // 记录数
  16. List []statModel
  17. }
  18. type statModel struct {
  19. DateFlag string // 日期
  20. Commission int // 佣金
  21. Direct int // 属级(0=提取 1=直属 2=间属)
  22. }
  23. // 收益信息
  24. type commissionInfo struct {
  25. ChineseName string // 游戏名称
  26. FromUserID int // 源用户ID
  27. FromNickName string // 源用户昵称
  28. FaceID int // 头像ID
  29. FaceUrl string // 头像URL
  30. Sex int // 性别
  31. WantCommission int // 变化收益
  32. Crdate string // 时间
  33. }
  34. // 收益
  35. type commission_out struct {
  36. Commission int // 佣金
  37. RecordCount int // 记录数
  38. List []commissionInfo
  39. }
  40. // 配置信息
  41. type configInfo struct {
  42. IsOpen int // 是否开启(1=启用 其他关闭)
  43. BindSend int // 绑码赠送
  44. BetOneDirect int // 流水1级代理返佣(以万为基数)
  45. BetTwoDirect int // 流水2级代理返佣(以万为基数)
  46. TaxOneDirect int // 服务费1级代理返佣(以万为基数)
  47. TaxTwoDirect int // 服务费2级代理返佣(以万为基数)
  48. PayOneDirect int // 充值1级代理返佣(以万为基数)
  49. PayTwoDirect int // 充值2级代理返佣(以万为基数)
  50. BindAwards []*bindAward // 绑定奖励
  51. }
  52. type bindAward struct {
  53. Members int // 有效会员数
  54. Profit int // 奖励额
  55. }
  56. // 会员列表
  57. type memberList struct {
  58. RecordCount int // 记录数
  59. OnlineCount int // 在线人数
  60. List []memberInfo
  61. }
  62. type memberInfo struct {
  63. UserID int // 用户ID
  64. NickName string // 用户昵称
  65. FaceID int // 头像ID
  66. FaceUrl string // 头像URL
  67. Sex int // 性别
  68. BindTime string // 绑定时间
  69. IsOnline int // 是否在线 1=在线 0=离线
  70. }