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

mq.go 1.5 KiB

6 months ago
6 months ago
4 months ago
5 months ago
6 months ago
12345678910111213141516171819202122232425262728293031323334353637
  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. )
  11. type OneCirclesStructForSignIn struct {
  12. MasterId string `json:"master_id"`
  13. Uid int `json:"uid"`
  14. Id int64 `json:"id"`
  15. EndTime string `json:"end_time"`
  16. }
  17. type UpdateOneCirclesStructForSignInRecords struct {
  18. Id int64 `json:"id"`
  19. Uid int `json:"uid"`
  20. }
  21. type OneCirclesStructForAutoExchangeGreenEnergy struct {
  22. MasterId string `json:"master_id"`
  23. Uid int `json:"uid"`
  24. Amount string `json:"amount"`
  25. CoinId int `json:"coin_id"`
  26. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  27. }
  28. type OneCirclesStructForStarLevelDividends struct {
  29. MasterId string `json:"master_id"`
  30. Uid int `json:"uid"`
  31. SignDividend float64 `json:"sign_dividend"`
  32. }