瀏覽代碼

feat: add virtual amount flow type

master
shenjiachi 2 天之前
父節點
當前提交
5f15fba874
共有 1 個文件被更改,包括 35 次插入0 次删除
  1. +35
    -0
      enum/user_virtual_amount_flow.go

+ 35
- 0
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,
}
}

Loading…
取消
儲存