蛋蛋星球-制度模式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
3.4 KiB

  1. package md
  2. const EggAppExchange = "egg.app"
  3. const (
  4. EggNewUserRegister = "egg_new_user_register" // 新用户注册
  5. EggRoutKeyForAddPublicPlatoonUserRelationCommission = "add_public_platoon_user_relation_commission" // 加入公排
  6. EggFinWithdrawApply = "egg_fin_withdraw_apply" // 提现申请
  7. EggFinWithdrawApplyError = "egg_fin_deposit_apply_error" // 提现申请异常队列
  8. EggRoutKeyForRecordActive = "egg_record_active" // 更新活跃记录
  9. EggRoutKeyForAutoScoreData = "egg_auto_score" // 自动打分
  10. )
  11. type EggNewUserRegisterData struct {
  12. Uid int64 `json:"uid"`
  13. }
  14. type EggFinWithdrawApplyData struct {
  15. Id int64 `json:"id"`
  16. Uid int64 `json:"uid"`
  17. AdmId int `json:"adm_id"`
  18. Amount string `json:"amount"`
  19. RealAmount string `json:"real_amount"`
  20. Fee string `json:"fee"`
  21. Type int `json:"type"`
  22. WithdrawAccount string `json:"withdraw_account"`
  23. WithdrawName string `json:"withdraw_name"`
  24. Reason int `json:"reason"`
  25. PaymentDate string `json:"payment_date"`
  26. State int `json:"state"`
  27. WithdrawKind int `json:"withdraw_kind"`
  28. IsFirst int `json:"is_first"`
  29. Memo string `json:"memo"`
  30. UpdateAt string `json:"update_at"`
  31. CreateAt string `json:"create_at"`
  32. }
  33. type EggFinWithdrawApplyErrorData struct {
  34. EggFinWithdrawApplyData EggFinWithdrawApplyData `json:"egg_fin_withdraw_apply_data"` // 原始申请数据
  35. ErrorInfo string `json:"error_info"` // 错误信息
  36. Ext []byte `json:"ext"` // 如果尝试解析失败,则将整个结构体放入
  37. }
  38. type EggStructForRecordActiveData struct {
  39. Uid int64 `json:"uid"`
  40. TotalPersonEggPoints string `json:"total_person_egg_points"` // 个人活跃积分
  41. }
  42. type EggStructForAutoScoreData struct {
  43. DocId string `json:"doc_id"` // 文档 id
  44. Ecpm float64 `json:"ecpm"`
  45. InviteUserNums int `json:"invite_user_nums"`
  46. TeamActivityNums int `json:"team_activity_nums"`
  47. SignInNums int `json:"sign_in_nums"`
  48. ImActivityNums int `json:"im_activity_nums"`
  49. SendRedPackageNums int `json:"send_red_package_nums"`
  50. EggEnergyExchangeAccountBalance int `json:"egg_energy_exchange_account_balance"`
  51. AccountBalanceExchangeEggEnergyNums int `json:"account_balance_exchange_egg_energy_nums"`
  52. SendCircleOfFriendNums int `json:"send_circle_of_friend_nums"`
  53. ForumCommentsNums int `json:"forum_comments_nums"`
  54. CollegeLearningNums int `json:"college_learning_nums"`
  55. ViolateNums int `json:"violate_nums"`
  56. BrowseInterfaceNums int `json:"browse_interface_nums"`
  57. PersonAddActivityValue int `json:"person_add_activity_value"`
  58. }
  59. type AddPublicPlatoonUserRelationCommissionReq struct {
  60. Uid string `json:"uid"`
  61. RecommendUid string `json:"recommend_uid"` //推荐人uid
  62. }