订单分佣规则
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

54 rindas
2.1 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. }
  34. const HoneyDividendExchange = "honey.dividend"
  35. type HoneyDividendForUserDividend struct {
  36. RecordsId int64 `json:"records_id"`
  37. MasterId string `json:"master_id"`
  38. Uid int `json:"uid"`
  39. Amount string `json:"amount"`
  40. DestroyHoneyValues string `json:"destroy_honey_values"`
  41. CoinId int `json:"coin_id"`
  42. }
  43. const (
  44. HoneyDividendRoutKeyForUserDividend = "user_dividend" // 签到
  45. )