订单分佣规则
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.

39 lines
1.7 KiB

  1. package md
  2. const OneCirclesExchange = "one.circles"
  3. const (
  4. OneCirclesRoutKeyForSignIn = "sign_in" // 签到
  5. OneCirclesRoutKeyForSignInUpdateRecords = "sign_in_update_records" // 签到更新记录
  6. OneCirclesRoutKeyForStarLevelDividend = "star_level_dividend" // 星级分红
  7. OneCirclesRoutKeyForAutoExchangeGreenEnergyToPerson = "auto_exchange_green_energy_to_person_1" // 自动兑换个人绿色能量
  8. OneCirclesRoutKeyForAutoExchangeGreenEnergyToTeam = "auto_exchange_green_energy_to_team" // 自动兑换团队绿色能量
  9. OneCirclesRoutKeyForSettlementPublicGiveActivityCoin = "settlement_public_give_activity_coin" // 计算观看激励视屏得到活跃积分
  10. OneCirclesRoutKeyForRewardUserCoin = "reward_user_coin" // 奖励用户虚拟币
  11. )
  12. type OneCirclesStructForSignIn struct {
  13. MasterId string `json:"master_id"`
  14. Uid int `json:"uid"`
  15. Id int64 `json:"id"`
  16. EndTime string `json:"end_time"`
  17. }
  18. type UpdateOneCirclesStructForSignInRecords struct {
  19. Id int64 `json:"id"`
  20. Uid int `json:"uid"`
  21. }
  22. type OneCirclesStructForAutoExchangeGreenEnergy struct {
  23. MasterId string `json:"master_id"`
  24. Uid int `json:"uid"`
  25. Amount string `json:"amount"`
  26. CoinId int `json:"coin_id"`
  27. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  28. }
  29. type OneCirclesStructForStarLevelDividends struct {
  30. MasterId string `json:"master_id"`
  31. Uid int `json:"uid"`
  32. SignDividend float64 `json:"sign_dividend"`
  33. }