From e44caee9c5e673d62d7ed0ce5e70f15d5b9b6687 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 1 Apr 2026 18:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E4=BF=AE=E6=94=B9=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=8E=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/user/UpdateUserProfileCmdExe.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UpdateUserProfileCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UpdateUserProfileCmdExe.java index 337faca1..5fb986b0 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UpdateUserProfileCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UpdateUserProfileCmdExe.java @@ -68,13 +68,6 @@ public class UpdateUserProfileCmdExe { userProfileGateway.removeCacheAll(cmd.requiredReqUserId()); UserProfile userProfile = userProfileGateway.getByUserId(cmd.requiredReqUserId()); ResponseAssert.notNull(UserErrorCode.USER_INFO_NOT_FOUND, userProfile); - if (cmd.getCountryId() != null && cmd.getCountryId() > 0) { - // 更改国家 查询redis是否修改过 - String isUpdateCountry = redisService.getString("IS_UPDATE_COUNTRY:" + cmd.requiredReqUserId()); - if (StringUtils.isNotBlank(isUpdateCountry) && "1".equals(isUpdateCountry)) { - return userProfileAppConvertor.toUserProfileDTO(userProfile); - } - } if (StringUtils.isNotBlank(cmd.getUserAvatar())) { cmd.setUserAvatar(ossServiceClient.processImgSaveAsCompressZoom(cmd.getUserAvatar(), ImageSizeConst.COVER_HEIGHT).getBody()