MsgCheck 检查一段文本是否含有违法违规内容
(in *MsgCheckRequest)
| 228 | |
| 229 | // MsgCheck 检查一段文本是否含有违法违规内容 |
| 230 | func (security *Security) MsgCheck(in *MsgCheckRequest) (res MsgCheckResponse, err error) { |
| 231 | return security.MsgCheckContext(context2.Background(), in) |
| 232 | } |
| 233 | |
| 234 | // MsgCheckContext 检查一段文本是否含有违法违规内容 |
| 235 | func (security *Security) MsgCheckContext(ctx context2.Context, in *MsgCheckRequest) (res MsgCheckResponse, err error) { |
nothing calls this directly
no test coverage detected