diff --git a/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/CountryEnum.java b/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/CountryEnum.java index 845ad3c1c..1f6a55286 100644 --- a/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/CountryEnum.java +++ b/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/CountryEnum.java @@ -5,7 +5,6 @@ import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; -import java.util.Arrays; import java.util.List; @Getter @@ -21,7 +20,7 @@ public enum CountryEnum { YE("Yemen", List.of(PartitionEnum.ARAB.getId(), PartitionEnum.TURKEY.getId())), AZ("Azərbaycan", List.of(PartitionEnum.ARAB.getId(), PartitionEnum.TURKEY.getId())), CY("Kıbrıs", List.of(PartitionEnum.ARAB.getId(), PartitionEnum.TURKEY.getId())), - Other("Other", List.of(PartitionEnum.ARAB.getId(), PartitionEnum.TURKEY.getId(),PartitionEnum.ENGLISH2.getId())), + Other("Other", List.of(PartitionEnum.ARAB.getId(), PartitionEnum.TURKEY.getId(),PartitionEnum.ENGLISH2.getId(),PartitionEnum.SOVIET.getId())), //新增国家列表【英语2区】用 BD("Bangladesh", List.of(PartitionEnum.ENGLISH.getId(), PartitionEnum.ENGLISH2.getId())), // 孟加拉国 diff --git a/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/guild/GuildWithdrawAccountTypeEnum.java b/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/guild/GuildWithdrawAccountTypeEnum.java index 579d5dcaa..7079a3214 100644 --- a/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/guild/GuildWithdrawAccountTypeEnum.java +++ b/accompany-business/accompany-business-sdk/src/main/java/com/accompany/business/constant/guild/GuildWithdrawAccountTypeEnum.java @@ -1,13 +1,11 @@ package com.accompany.business.constant.guild; import com.accompany.business.constant.CountryEnum; -import com.accompany.common.constant.Constant; import com.accompany.core.enumeration.PartitionEnum; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; -import java.math.BigDecimal; import java.util.List; @Getter @@ -64,7 +62,13 @@ public enum GuildWithdrawAccountTypeEnum { List.of(GuildWithdrawAccountFieldEnum.COUNTRY, GuildWithdrawAccountFieldEnum.ACCOUNT_NO, GuildWithdrawAccountFieldEnum.ACCOUNT_NAME)), SWIFT_CODE("swiftcode", PartitionEnum.ENGLISH2.getId(), List.of(CountryEnum.NG), - List.of(GuildWithdrawAccountFieldEnum.COUNTRY, GuildWithdrawAccountFieldEnum.ACCOUNT_NO, GuildWithdrawAccountFieldEnum.ACCOUNT_NAME, GuildWithdrawAccountFieldEnum.SWIFT_CODE)) + List.of(GuildWithdrawAccountFieldEnum.COUNTRY, GuildWithdrawAccountFieldEnum.ACCOUNT_NO, GuildWithdrawAccountFieldEnum.ACCOUNT_NAME, GuildWithdrawAccountFieldEnum.SWIFT_CODE)), + + USDT_SOVIET("usdt", PartitionEnum.SOVIET.getId(), List.of(CountryEnum.Other), + List.of(GuildWithdrawAccountFieldEnum.COUNTRY, GuildWithdrawAccountFieldEnum.ACCOUNT)), + + PAYONNER_SOVIET("payonner", PartitionEnum.SOVIET.getId(), List.of(CountryEnum.Other), + List.of(GuildWithdrawAccountFieldEnum.COUNTRY, GuildWithdrawAccountFieldEnum.ACCOUNT, GuildWithdrawAccountFieldEnum.FULL_NAME)), ;