const checkRes = await wx.serviceMarket.invokeService({
service: 'xxxxxxxx',
api: 'msgSecCheck',
data: {
"Action": "TextApproval",
"Text": '肖战',
},
});
Response 返回:
{
"Response": {
"EvilTokens": [
{
"EvilFlag": 2,
"EvilType": 7,
"EvilKeywords": []
}
],
"RequestId": "bcf89b20-0e6e-4552-9056-d758d8b6cfb6"
}
}
替用户问下为什么这个名字会有问题
你好,麻烦提供下具体的请求包以及回包。
{
"service": "wxee446d7507c68b11",
"api": "msgSecCheck",
"data": {
"Action": "TextApproval",
"Text": "肖战"
},
"clientMsgId": "0.4139452841071256_1611560006662"
}
{"errMsg":"wx.serviceMarket.invokeService:ok","data":"{\"data\":\"{\\\"Response\\\":{\\\"EvilTokens\\\":[{\\\"EvilFlag\\\":2,\\\"EvilType\\\":7,\\\"EvilKeywords\\\":[]}],\\\"RequestId\\\":\\\"a5f6ca7e-248f-4a0d-a1e1-2fcc24d03e4e\\\"}}\",\"request_id\":\"MLzmGyiSG73-P54qUlNVm4fLU7LriVNjQXPDn_FlF6WsMdZivVUA-G8H9Q4E35TSO2w\",\"errcode\":0,\"provider_errmsg\":\"\",\"scene\":4}"}