敏感词

This commit is contained in:
2025-11-21 18:56:14 +08:00
parent 028e748565
commit c2cac51762
23 changed files with 108710 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.xyzh</groupId>
<artifactId>api</artifactId>
<version>1.0.0</version>
</parent>
<groupId>org.xyzh</groupId>
<artifactId>api-sensitive</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>
</project>

View File

@@ -0,0 +1,13 @@
package org.xyzh.api.sensitive;
import org.xyzh.common.core.domain.ResultDomain;
import org.xyzh.common.dto.sensitive.TbSensitive;
public interface SensitiveService {
ResultDomain<Boolean> addSensitiveWord(TbSensitive sensitive);
ResultDomain<Boolean> deleteSensitiveWord(TbSensitive sensitive);
ResultDomain<Boolean> judgeSensitive(String text);
}