guanglong 3 rokov pred
rodič
commit
b0573a0329

+ 1 - 1
mp-service/src/main/java/com/qs/mp/channel/service/impl/ChannelServiceImpl.java

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