feat: 添加敏感词检测工具配置
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//package com.schisandra.share.application.config;
|
||||
//
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//@Configuration
|
||||
//public class SensitiveConfig {
|
||||
//
|
||||
// @Bean
|
||||
// public WordContext wordContext(SensitiveWordsService service) {
|
||||
// return new WordContext(true, service);
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// public WordFilter wordFilter(WordContext wordContext) {
|
||||
// return new WordFilter(wordContext);
|
||||
// }
|
||||
//
|
||||
//}
|
Reference in New Issue
Block a user