蛋蛋星球-制度模式
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.

81 lines
3.8 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. EggRoutKeyForSendFriendCircle = "egg_send_friend_circle" // 发送朋友圈
  11. EggRoutKeyForComment = "egg_comment" // 发送朋友圈
  12. )
  13. type EggNewUserRegisterData struct {
  14. Uid int64 `json:"uid"`
  15. }
  16. type EggFinWithdrawApplyData struct {
  17. Id int64 `json:"id"`
  18. Uid int64 `json:"uid"`
  19. AdmId int `json:"adm_id"`
  20. Amount string `json:"amount"`
  21. RealAmount string `json:"real_amount"`
  22. Fee string `json:"fee"`
  23. Type int `json:"type"`
  24. WithdrawAccount string `json:"withdraw_account"`
  25. WithdrawName string `json:"withdraw_name"`
  26. Reason int `json:"reason"`
  27. PaymentDate string `json:"payment_date"`
  28. State int `json:"state"`
  29. WithdrawKind int `json:"withdraw_kind"`
  30. IsFirst int `json:"is_first"`
  31. Memo string `json:"memo"`
  32. UpdateAt string `json:"update_at"`
  33. CreateAt string `json:"create_at"`
  34. }
  35. type EggFinWithdrawApplyErrorData struct {
  36. EggFinWithdrawApplyData EggFinWithdrawApplyData `json:"egg_fin_withdraw_apply_data"` // 原始申请数据
  37. ErrorInfo string `json:"error_info"` // 错误信息
  38. Ext []byte `json:"ext"` // 如果尝试解析失败,则将整个结构体放入
  39. }
  40. type EggStructForRecordActiveData struct {
  41. Uid int64 `json:"uid"`
  42. TotalPersonEggPoints string `json:"total_person_egg_points"` // 个人活跃积分
  43. }
  44. type EggStructForAutoScoreData struct {
  45. DocId string `json:"doc_id"` // 文档 id
  46. Ecpm float64 `json:"ecpm"`
  47. InviteUserNums int `json:"invite_user_nums"`
  48. TeamActivityNums int `json:"team_activity_nums"`
  49. SignInNums int `json:"sign_in_nums"`
  50. ImActivityNums int `json:"im_activity_nums"`
  51. SendRedPackageNums int `json:"send_red_package_nums"`
  52. EggEnergyExchangeAccountBalance float64 `json:"egg_energy_exchange_account_balance"`
  53. AccountBalanceExchangeEggEnergyNums float64 `json:"account_balance_exchange_egg_energy_nums"`
  54. SendCircleOfFriendNums int `json:"send_circle_of_friend_nums"`
  55. ForumCommentsNums int `json:"forum_comments_nums"`
  56. CollegeLearningNums int `json:"college_learning_nums"`
  57. ViolateNums int `json:"violate_nums"`
  58. BrowseInterfaceNums int `json:"browse_interface_nums"`
  59. PersonAddActivityValue float64 `json:"person_add_activity_value"`
  60. }
  61. type AddPublicPlatoonUserRelationCommissionReq struct {
  62. Uid string `json:"uid"`
  63. RecommendUid string `json:"recommend_uid"` //推荐人uid
  64. }
  65. type EggSendFriendCircleData struct {
  66. Uid int64 `json:"uid"`
  67. }
  68. type EggCommentData struct {
  69. Uid int64 `json:"uid"`
  70. }