跳到主要内容

check_content

检查文本内容是不是包含指定类别的敏感词

声明

bool check_content(string name, string content)

参数

参数名描述
name检查的类别
content文本内容

返回值

true: 包含; false: 不包含

使用方式

返回文档