예제 #1
0
  @Test
  @Ignore
  public void verifySignature() {
    SiteAccess log = new SiteAccess();
    log.setEchostr("5921940693384818207");
    log.setNonce("1378809259");
    log.setSignature("d864452f69eccd3bc25c4ab94a1723cbba282ff6");
    log.setTimestamp_api("1377955356");
    log.setCust_id(1);
    log.setToken("QEQdsqo");

    boolean result = api.verifySignature(log);
    assertTrue(result);
  }
예제 #2
0
 @Test
 @Ignore
 public void getAcessToken() {
   String ss = api.getAcessToken(wxConfigMapper.get(cust_id));
   System.out.println(ss);
 }