|
@@ -655,7 +655,6 @@ public class ChannelController extends BaseApiController {
|
|
if (null == channel || null == channel.getChannelId() || null == channel.getVerifyStatus()) {
|
|
if (null == channel || null == channel.getChannelId() || null == channel.getVerifyStatus()) {
|
|
return error(ErrorCodeEnum.ERROR_CODE_1001);
|
|
return error(ErrorCodeEnum.ERROR_CODE_1001);
|
|
}
|
|
}
|
|
-
|
|
|
|
Long parentlId = SecurityUtils.getLoginUser().getChannelId();
|
|
Long parentlId = SecurityUtils.getLoginUser().getChannelId();
|
|
Channel existChannel = channelService.getById(parentlId);
|
|
Channel existChannel = channelService.getById(parentlId);
|
|
if (existChannel.getStatus() == ChannelStatusEnum.OFF) {
|
|
if (existChannel.getStatus() == ChannelStatusEnum.OFF) {
|