|
@@ -181,8 +181,8 @@ public class ContentPlatformAccountServiceImpl implements ContentPlatformAccount
|
|
if (CollectionUtils.isNotEmpty(channelExistsList)) {
|
|
if (CollectionUtils.isNotEmpty(channelExistsList)) {
|
|
throw new CommonException(ExceptionEnum.CHANNEL_EXISTS_WRONG);
|
|
throw new CommonException(ExceptionEnum.CHANNEL_EXISTS_WRONG);
|
|
}
|
|
}
|
|
- if (Objects.isNull(param.getChannel())) {
|
|
|
|
- throw new CommonException(ExceptionEnum.CHANNEL_EXISTS_WRONG);
|
|
|
|
|
|
+ if (!StringUtils.hasText(param.getChannel())) {
|
|
|
|
+ throw new CommonException(ExceptionEnum.CHANNEL_NULL_WRONG);
|
|
}
|
|
}
|
|
Long now = System.currentTimeMillis();
|
|
Long now = System.currentTimeMillis();
|
|
ContentPlatformAccount account = new ContentPlatformAccount();
|
|
ContentPlatformAccount account = new ContentPlatformAccount();
|