mirror of
https://github.com/houbb/sensitive-word.git
synced 2026-03-22 08:27:36 +08:00
[Feature] add for new
This commit is contained in:
@@ -85,6 +85,7 @@ public class SensitiveWordBs {
|
||||
*
|
||||
* @param enableNumCheck 数字检测
|
||||
* @since 0.0.11
|
||||
* @return this
|
||||
*/
|
||||
public SensitiveWordBs enableNumCheck(boolean enableNumCheck) {
|
||||
this.context.sensitiveCheckNum(enableNumCheck);
|
||||
@@ -96,6 +97,7 @@ public class SensitiveWordBs {
|
||||
*
|
||||
* @param enableEmailCheck email 检测
|
||||
* @since 0.0.11
|
||||
* @return this
|
||||
*/
|
||||
public SensitiveWordBs enableEmailCheck(boolean enableEmailCheck) {
|
||||
this.context.sensitiveCheckEmail(enableEmailCheck);
|
||||
@@ -107,6 +109,7 @@ public class SensitiveWordBs {
|
||||
*
|
||||
* @param enableUrlCheck url 检测
|
||||
* @since 0.0.12
|
||||
* @return this
|
||||
*/
|
||||
public SensitiveWordBs enableUrlCheck(boolean enableUrlCheck) {
|
||||
this.context.sensitiveCheckUrl(enableUrlCheck);
|
||||
|
||||
Reference in New Issue
Block a user