修改网联签名验签接口,添加银联签名验签接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user