MCPcopy
hub / github.com/silenceper/wechat / MsgCheck

Method MsgCheck

miniprogram/security/security.go:230–232  ·  view source on GitHub ↗

MsgCheck 检查一段文本是否含有违法违规内容

(in *MsgCheckRequest)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

MsgCheckContextMethod · 0.95

Tested by

no test coverage detected