|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- package md
-
- const OneCirclesExchange = "one.circles"
-
- const (
- OneCirclesRoutKeyForSignIn = "sign_in" // 签到
- OneCirclesRoutKeyForSignInUpdateRecords = "sign_in_update_records" // 签到更新记录
- OneCirclesRoutKeyForStarLevelDividend = "star_level_dividend" // 星级分红
- OneCirclesRoutKeyForAutoExchangeGreenEnergyToPerson = "auto_exchange_green_energy_to_person_1" // 自动兑换个人绿色能量
- OneCirclesRoutKeyForAutoExchangeGreenEnergyToTeam = "auto_exchange_green_energy_to_team" // 自动兑换团队绿色能量
- OneCirclesRoutKeyForSettlementPublicGiveActivityCoin = "settlement_public_give_activity_coin" // 计算观看激励视屏得到活跃积分
- OneCirclesRoutKeyForRewardUserCoin = "reward_user_coin" // 奖励用户虚拟币
-
- )
-
- type OneCirclesStructForSignIn struct {
- MasterId string `json:"master_id"`
- Uid int `json:"uid"`
- Id int64 `json:"id"`
- EndTime string `json:"end_time"`
- }
- type UpdateOneCirclesStructForSignInRecords struct {
- Id int64 `json:"id"`
- Uid int `json:"uid"`
- }
-
- type OneCirclesStructForAutoExchangeGreenEnergy struct {
- MasterId string `json:"master_id"`
- Uid int `json:"uid"`
- Amount string `json:"amount"`
- CoinId int `json:"coin_id"`
- AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
- }
- type OneCirclesStructForStarLevelDividends struct {
- MasterId string `json:"master_id"`
- Uid int `json:"uid"`
- SignDividend float64 `json:"sign_dividend"`
- }
-
- const HoneyDividendExchange = "honey.dividend"
-
- type HoneyDividendForUserDividend struct {
- RecordsId int64 `json:"records_id"`
- MasterId string `json:"master_id"`
- Uid int `json:"uid"`
- Amount string `json:"amount"`
- DestroyHoneyValues string `json:"destroy_honey_values"`
- CoinId int `json:"coin_id"`
- DividendVipLevel int `json:"dividend_vip_level"`
- }
-
- type HoneyContributionExchangeForUserDividend struct {
- RecordsId int64 `json:"records_id"`
- MasterId string `json:"master_id"`
- Uid int `json:"uid"`
- Amount string `json:"amount"`
- DestroyValues string `json:"destroy_values"`
- CoinId int `json:"coin_id"`
- CoinIdForContribution int `json:"coin_id_for_contribution"`
- }
-
- const (
- HoneyDividendRoutKeyForUserDividend = "user_dividend" // 分红
- HoneyDividendRoutKeyForUserContributionExchange = "user_contribution_exchange" // 兑换
- )
|