mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-24 18:04:38 +08:00
update test code
This commit is contained in:
parent
6b02facbfe
commit
b04bff0496
@ -32,11 +32,4 @@ public class WxBaseAPITest {
|
||||
Assert.assertTrue(StringUtils.isNotBlank(after));
|
||||
}
|
||||
|
||||
public void testCheckSignature() throws WxErrorException {
|
||||
String timestamp = "1413729506";
|
||||
String nonce = "1753282854";
|
||||
String signature = "af210121811dce2d6f306612cb133cba490e818b";
|
||||
Assert.assertTrue(wxService.checkSignature(timestamp, nonce, signature));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,8 +1,9 @@
|
||||
<xml>
|
||||
<appId></appId>
|
||||
<secret></secret>
|
||||
<token></token>
|
||||
<accessToken></accessToken>
|
||||
<expiresIn></expiresIn>
|
||||
<openId></openId>
|
||||
<appId>公众号appID</appId>
|
||||
<secret>公众号appsecret</secret>
|
||||
<token>公众号Token</token>
|
||||
<aesKey>公众号EncodingAESKey</aesKey>
|
||||
<accessToken>可以不填写</accessToken>
|
||||
<expiresIn>可以不填写</expiresIn>
|
||||
<openId>某个加你公众号的用户的openId</openId>
|
||||
</xml>
|
||||
|
Loading…
Reference in New Issue
Block a user