|
@@ -1,5 +1,6 @@
|
|
|
package com.fs.live.service.impl;
|
|
|
|
|
|
+import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -10,7 +11,7 @@ import com.fs.live.service.ILiveSensitiveWordsService;
|
|
|
|
|
|
/**
|
|
|
* 直播间敏感词过滤Service业务层处理
|
|
|
- *
|
|
|
+ *
|
|
|
* @author fs
|
|
|
* @date 2025-07-08
|
|
|
*/
|
|
@@ -19,7 +20,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 查询直播间敏感词过滤
|
|
|
- *
|
|
|
+ *
|
|
|
* @param wordId 直播间敏感词过滤主键
|
|
|
* @return 直播间敏感词过滤
|
|
|
*/
|
|
@@ -31,7 +32,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 查询直播间敏感词过滤列表
|
|
|
- *
|
|
|
+ *
|
|
|
* @param liveSensitiveWords 直播间敏感词过滤
|
|
|
* @return 直播间敏感词过滤
|
|
|
*/
|
|
@@ -43,7 +44,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 新增直播间敏感词过滤
|
|
|
- *
|
|
|
+ *
|
|
|
* @param liveSensitiveWords 直播间敏感词过滤
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -55,7 +56,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 修改直播间敏感词过滤
|
|
|
- *
|
|
|
+ *
|
|
|
* @param liveSensitiveWords 直播间敏感词过滤
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -67,7 +68,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 批量删除直播间敏感词过滤
|
|
|
- *
|
|
|
+ *
|
|
|
* @param wordIds 需要删除的直播间敏感词过滤主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -79,7 +80,7 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
|
|
|
/**
|
|
|
* 删除直播间敏感词过滤信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param wordId 直播间敏感词过滤主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -88,4 +89,9 @@ public class LiveSensitiveWordsServiceImpl extends ServiceImpl<LiveSensitiveWord
|
|
|
{
|
|
|
return baseMapper.deleteLiveSensitiveWordsByWordId(wordId);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<String> selectAllWords() {
|
|
|
+ return baseMapper.selectAllWords();
|
|
|
+ }
|
|
|
}
|