🎨 #1496 更改卡券接口的门店位置ID字段的类型

This commit is contained in:
S
2020-04-09 13:39:33 +08:00
committed by GitHub
parent a9766960c3
commit 6633ea3ca7
6 changed files with 14 additions and 6 deletions

View File

@@ -188,7 +188,7 @@ public class WxMpMemberCardServiceImpl implements WxMpMemberCardService {
dateInfoType.getDescription()));
}
if (!baseInfo.isUseAllLocations() && StringUtils.isBlank(baseInfo.getLocationIdList())) {
if (!baseInfo.isUseAllLocations() && baseInfo.getLocationIdList().isEmpty()) {
return WxMpCardCreateResult.failure("会员卡基本信息的门店使用范围选择指定门店,门店列表:locationIdList不能为空");
}