From 8ba7d3aa627236dc6b022acddc7096ac2f23a7e7 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 13 May 2026 18:34:27 +0800 Subject: [PATCH] =?UTF-8?q?aslan=20=E6=96=B0=E5=A2=9E=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=BC=80=E5=90=AF=E6=8F=90=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/inner/model/cmd/team/TeamCreateCmd.java | 5 +++++ .../circle/other/inner/model/cmd/team/TeamProfileCmd.java | 5 +++++ .../other/app/command/team/BdInviteMessageProcessExe.java | 2 ++ .../service/team/impl/TeamProfileClientServiceImpl.java | 2 ++ 4 files changed, 14 insertions(+) diff --git a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamCreateCmd.java b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamCreateCmd.java index 1ed9d6e3..fbe5276e 100644 --- a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamCreateCmd.java +++ b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamCreateCmd.java @@ -49,6 +49,11 @@ public class TeamCreateCmd extends CommonCommand { */ private TeamSetting setting; + /** + * 允许提现开关. + */ + private Boolean withdrawalEnabled; + /** * 国家. */ diff --git a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamProfileCmd.java b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamProfileCmd.java index b4d83f9d..b2f90d3c 100644 --- a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamProfileCmd.java +++ b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/cmd/team/TeamProfileCmd.java @@ -66,6 +66,11 @@ public class TeamProfileCmd extends CommonCommand { */ private TeamSetting setting; + /** + * 允许提现开关. + */ + private Boolean withdrawalEnabled; + /** * 国家. */ diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdInviteMessageProcessExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdInviteMessageProcessExe.java index d662766a..9d166119 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdInviteMessageProcessExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdInviteMessageProcessExe.java @@ -164,6 +164,8 @@ public class BdInviteMessageProcessExe { .setSysOrigin(cmd.requireReqSysOrigin()) .setOwnUserId(userProfile.getId()) .setRemarks(CollectionUtils.newArrayList()) + //默认开启提现 + .setWithdrawalEnabled(true) .setStatus(TeamStatus.AVAILABLE) .setSetting(new TeamSetting() .setMaxMember(1000) diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamProfileClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamProfileClientServiceImpl.java index 2f22df93..69a25d75 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamProfileClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamProfileClientServiceImpl.java @@ -190,6 +190,7 @@ public class TeamProfileClientServiceImpl implements TeamProfileClientService { @Override public void create(TeamProfileCmd cmd) { + cmd.setWithdrawalEnabled(Objects.isNull(cmd.getWithdrawalEnabled()) || cmd.getWithdrawalEnabled()); teamProfileService.create(teamInfraConvertor.toTeamProfile(cmd)); } @@ -243,6 +244,7 @@ public class TeamProfileClientServiceImpl implements TeamProfileClientService { ); teamProfile.setRemarks(Lists.newArrayList()); teamProfile.setSetting(cmd.getSetting()); + teamProfile.setWithdrawalEnabled(Objects.isNull(cmd.getWithdrawalEnabled()) || cmd.getWithdrawalEnabled()); teamProfile.setCountry( new TeamCountry() .setCountryId(userProfile.getCountryId())