|  | @@ -130,14 +130,13 @@ public class FsCourseWatchCommentServiceImpl extends ServiceImpl<FsCourseWatchCo
 | 
	
		
			
				|  |  |              List<SysKeyword> sysKeywords = mapper.selectSysKeywordList(sysKeywordParam);
 | 
	
		
			
				|  |  |              keywords = sysKeywords.stream().map(SysKeyword::getKeyword).collect(Collectors.toSet());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if (keywords.isEmpty()) {
 | 
	
		
			
				|  |  | -            return R.ok().put("status", true);
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        for (String keyword : keywords) {
 | 
	
		
			
				|  |  | -            if (param.getContent().contains(keyword)) {
 | 
	
		
			
				|  |  | -                //标记用户为黑名单
 | 
	
		
			
				|  |  | -                qwExternalContactMapper.updateQwExternalContactByFsUserId(1, param.getUserId());
 | 
	
		
			
				|  |  | -                return R.ok().put("status", false);
 | 
	
		
			
				|  |  | +        if(!keywords.isEmpty()){
 | 
	
		
			
				|  |  | +            for (String keyword : keywords) {
 | 
	
		
			
				|  |  | +                if (param.getContent().contains(keyword)) {
 | 
	
		
			
				|  |  | +                    //标记用户为黑名单,并且不保存数据
 | 
	
		
			
				|  |  | +                    qwExternalContactMapper.updateQwExternalContactByFsUserId(1, param.getUserId());
 | 
	
		
			
				|  |  | +                    return R.ok().put("status", false);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          FsCourseWatchComment fsCourseWatchComment = new FsCourseWatchComment();
 |