Selaa lähdekoodia

feat: add virtual amount flow type

master
shenjiachi 2 päivää sitten
vanhempi
commit
5f15fba874
1 muutettua tiedostoa jossa 35 lisäystä ja 0 poistoa
  1. +35
    -0
      enum/user_virtual_amount_flow.go

+ 35
- 0
enum/user_virtual_amount_flow.go Näytä tiedosto

@@ -26,6 +26,8 @@ const (
EggEnergyMaliciousAccountFlashingDeductionRecoverTeam
EggEnergyMaliciousAccountFlashingDeductionRestorePersonal
EggEnergyToAccountBalanceExchangeEggEnergy
EggEnergyPersonalDel
EggEnergyTeamDel
)

func (kind UserVirtualAmountFlowTransferType) String() string {
@@ -74,7 +76,40 @@ func (kind UserVirtualAmountFlowTransferType) String() string {
return "恶意账户刷机个人蛋蛋能量恢复"
case EggEnergyToAccountBalanceExchangeEggEnergy:
return "余额兑换个人蛋蛋能量"
case EggEnergyPersonalDel:
return "个人扣除"
case EggEnergyTeamDel:
return "团队扣除"
default:
return "未知状态"
}
}

func GetUserVirtualAmountFlowTransferTypeEnumValues() []UserVirtualAmountFlowTransferType {
return []UserVirtualAmountFlowTransferType{
EggEnergyCommunityDividends,
EggEnergyWatchAdRewardPersonalActiveCoin,
EggEnergyWatchAdRewardTeamActiveCoin,
EggPointCoinToExchangeToPersonEggEnergy,
EggPointCoinToExchangeToTeamEggEnergy,
PersonEggGetByEnergyEggPointCoin,
TeamEggGetByEnergyEggPointCoin,
TeamEggEnergyReleaseToPersonEggEnergy,
PersonEggGetByTeamEggEnergyRelease,
SettlementStarLevelDividends,
EggEnergyToExchangeToAmount,
EggPointCoinToAliPayRealName,
EggEnergyVideoRewardPersonalActiveCoin,
EggEnergyPlayletRewardPersonalActiveCoin,
EggEnergyWatchAdRewardFansActiveCoin,
EggEnergyRecruitNewUsersReward,
EggEnergyMaliciousAccountFlashingDeductionPersonal,
EggEnergyMaliciousAccountFlashingDeductionTeam,
EggEnergyMaliciousAccountFlashingDeductionRecoverPersonal,
EggEnergyMaliciousAccountFlashingDeductionRecoverTeam,
EggEnergyMaliciousAccountFlashingDeductionRestorePersonal,
EggEnergyToAccountBalanceExchangeEggEnergy,
EggEnergyPersonalDel,
EggEnergyTeamDel,
}
}

Ladataan…
Peruuta
Tallenna