|
@@ -117,7 +117,7 @@ public class ChannelServiceImpl extends ServiceImpl<ChannelMapper, Channel> impl
|
|
}
|
|
}
|
|
Long channelId = SecurityUtils.getLoginUser().getChannelId();
|
|
Long channelId = SecurityUtils.getLoginUser().getChannelId();
|
|
if(!oldChannel.getParentId().equals(channelId)) {
|
|
if(!oldChannel.getParentId().equals(channelId)) {
|
|
- throw new ServiceException(title + "'" + oldChannel.getName() + "'编辑失败,非子渠道");
|
|
|
|
|
|
+ throw new ServiceException(title + "'" + oldChannel.getName() + "'编辑失败,非当前用户子渠道");
|
|
}
|
|
}
|
|
// 2.校验名称是否重复、手机号是否存在(渠道表);
|
|
// 2.校验名称是否重复、手机号是否存在(渠道表);
|
|
if(!channel.getName().equals(oldChannel.getName())) {
|
|
if(!channel.getName().equals(oldChannel.getName())) {
|