修改网联签名验签接口,添加银联签名验签接口

This commit is contained in:
zhoubin
2021-12-03 16:06:29 +08:00
parent e877e80da9
commit c3c0c47095
5 changed files with 360 additions and 4 deletions
@@ -1254,6 +1254,19 @@ public class TestAllMethods {
System.out.println(b);
}
// 测试通过
// 6D
@Test
public void testNetVerify2() {
String sn = "1004282451";
String userId = "1234567812345678";
String data = "111";
String s = api.netSign(sn, userId, data.getBytes());
boolean b = api.netVerify(sn, userId, data.getBytes(), s);
System.out.println(b);
}
// 测试通过
// 6E
@Test