支付用户信息 地区问题 去除sysOrigin限制

This commit is contained in:
tianfeng 2026-05-28 15:13:37 +08:00
parent 9bdce9a98c
commit 0a48c9296d

View File

@ -67,7 +67,6 @@ public class UserProfileAndCountryQueryExe {
userRegionClient.getRegionId(userProfile.getId()) userRegionClient.getRegionId(userProfile.getId())
); );
if (Objects.equals(cmd.getSysOrigin(), SysOriginPlatformEnum.ATYOU.name())) {
ResponseAssert.isTrue(CommonErrorCode.NOT_SUPPORTED_REGION, StringUtils.isNotBlank(regionId)); ResponseAssert.isTrue(CommonErrorCode.NOT_SUPPORTED_REGION, StringUtils.isNotBlank(regionId));
List<RegionRelationDTO> regionRelationList = getRegionRelationList(userProfile, regionId); List<RegionRelationDTO> regionRelationList = getRegionRelationList(userProfile, regionId);
@ -76,10 +75,6 @@ public class UserProfileAndCountryQueryExe {
payCountryList = getPayCountryList(regionRelationList); payCountryList = getPayCountryList(regionRelationList);
ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, payCountryList); ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, payCountryList);
} else {
payCountryList = payCountryService.listAllShelf();
}
Map<Long, SysCountryCodeDTO> mapCountryCode = getMapCountryCode(payCountryList); Map<Long, SysCountryCodeDTO> mapCountryCode = getMapCountryCode(payCountryList);
ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, mapCountryCode); ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, mapCountryCode);