云函数中调用openapi.security.msgSecCheck异常?
调用:
let result = await cloud.openapi.security.msgSecCheck({
content: event.content
})
异常:
{“errCode”:-501001,“errMsg”:"openapi.security.msgSecCheck:fail source.on is not a function; at openapi.security.msgSecCheck api; "}