From 5f15fba8747d78bbe11183bd2c6fc4aef87d3271 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Wed, 8 Jan 2025 15:50:48 +0800 Subject: [PATCH] feat: add virtual amount flow type --- enum/user_virtual_amount_flow.go | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/enum/user_virtual_amount_flow.go b/enum/user_virtual_amount_flow.go index 1ff8f62..c9ba021 100644 --- a/enum/user_virtual_amount_flow.go +++ b/enum/user_virtual_amount_flow.go @@ -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, + } +}