1
0
mirror of synced 2025-12-22 00:48:00 +08:00

#1217 小程序增加校验图片/音频是否含有违法违规内容的接口

* 添加 微信内容异步检测接口

* 消息route 增加 title 参数
This commit is contained in:
Boris
2019-09-27 11:56:03 +08:00
committed by Binary Wang
parent 779f1d08a9
commit 8e97b778f3
6 changed files with 103 additions and 10 deletions

View File

@@ -38,12 +38,13 @@ public class WxMaSecCheckServiceImplTest {
return new Object[][]{
{"特3456书yuuo莞6543李zxcz蒜7782法fgnv级", false},
{"完2347全dfji试3726测asad感3847知qwez到", false},
{"提现&下载&棋牌游戏&网页", false},
{"hello world!", true}
};
}
@Test(dataProvider = "secData")
public void testCheckMessage(String msg, boolean result) {
public void testCheckMessage(String msg, boolean result) throws WxErrorException {
assertThat(this.wxService.getSecCheckService()
.checkMessage(msg))
.isEqualTo(result);