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

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