支付用户信息 地区问题 去除sysOrigin限制
This commit is contained in:
parent
9bdce9a98c
commit
0a48c9296d
@ -67,18 +67,13 @@ 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);
|
||||||
ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, regionRelationList);
|
ResponseAssert.notEmpty(CommonErrorCode.NOT_SUPPORTED_REGION, regionRelationList);
|
||||||
|
|
||||||
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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user