data.go 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package teacher
  2. // 师父信息
  3. type teacher struct {
  4. RetCode int // 操作结果
  5. Students int // 徒弟数
  6. Profit int // 收益(未领取)
  7. TodayProfit int // 今天收益
  8. TotalProfit int // 累计收益
  9. Withdraw int // 提现金额
  10. BindAwards []*bindAward // 绑定奖励(未领取)
  11. }
  12. // 绑定奖励
  13. type bindAward struct {
  14. AwardID int // 奖励ID
  15. Students int // 徒弟数
  16. Profit int // 收益
  17. }
  18. // 徒弟信息
  19. type student struct {
  20. StudentID int // 徒弟ID
  21. Profit int // 收益
  22. Crdate string // 绑定时间
  23. baseUserInfo
  24. }
  25. // 收益
  26. type profit struct {
  27. Rid int // 标志
  28. StudentID int // 徒弟ID
  29. Profit int // 收益
  30. Price int // 金额
  31. baseUserInfo
  32. }
  33. // 用户基础信息
  34. type baseUserInfo struct {
  35. NickName string // 昵称
  36. Sex int // 性别 0=无 1=男 2=女
  37. FaceId int // 头像ID
  38. FaceUrl string // 头像路径
  39. VipLevel int // Vip
  40. IsFriend int // 是否好友
  41. }