From 32e13a018fc66c5e3f8f8f1b5e0f7cd471238803 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Sun, 19 Oct 2014 23:28:18 +0800 Subject: [PATCH 1/7] update test code --- .../java/me/chanjar/weixin/api/WxBaseAPITest.java | 7 ------- src/test/resources/test-config.sample.xml | 13 +++++++------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java b/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java index 5ef5f3c7..af524615 100644 --- a/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java +++ b/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java @@ -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)); - } - } diff --git a/src/test/resources/test-config.sample.xml b/src/test/resources/test-config.sample.xml index 1586364a..501620cd 100644 --- a/src/test/resources/test-config.sample.xml +++ b/src/test/resources/test-config.sample.xml @@ -1,8 +1,9 @@ - - - - - - + 公众号appID + 公众号appsecret + 公众号Token + 公众号EncodingAESKey + 可以不填写 + 可以不填写 + 某个加你公众号的用户的openId From 45084194bb72bde0c77d78c86ea98dd0aa4e753b Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Mon, 20 Oct 2014 09:50:38 +0800 Subject: [PATCH 2/7] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 359c7f9e..8f43781e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ weixin-java-tools me.chanjar weixin-java-tools - 1.0.0 + 1.0.1 ``` From 4b89bdfe6f62804f3bd444370b201d8d32f214a0 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Tue, 21 Oct 2014 09:35:28 +0800 Subject: [PATCH 3/7] =?UTF-8?q?close=20=20#20=20=E8=8F=9C=E5=8D=95click?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/me/chanjar/weixin/api/WxConsts.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chanjar/weixin/api/WxConsts.java b/src/main/java/me/chanjar/weixin/api/WxConsts.java index 317806fa..534d63bd 100644 --- a/src/main/java/me/chanjar/weixin/api/WxConsts.java +++ b/src/main/java/me/chanjar/weixin/api/WxConsts.java @@ -78,7 +78,7 @@ public class WxConsts { public static final String EVT_UNSUBSCRIBE = "unsubscribe"; public static final String EVT_SCAN = "SCAN"; public static final String EVT_LOCATION = "LOCATION"; - public static final String EVT_CLICK = "LOCATION"; + public static final String EVT_CLICK = "CLICK"; public static final String EVT_VIEW = "VIEW"; public static final String EVT_MASS_SEND_JOB_FINISH = "MASSSENDJOBFINISH"; From 0e9998e4717095ba6011cd952794b17b5201919c Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Tue, 21 Oct 2014 09:37:42 +0800 Subject: [PATCH 4/7] upgrade version to 1.0.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ce566f00..0a334591 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 me.chanjar weixin-java-tools - 1.0.1 + 1.0.2 WeiXin Java Tools 用于开发微信公众号的Java工具 https://github.com/chanjarster/weixin-java-tools From 1ab807d752b3e315d914b141c06da1bb3d5b2b98 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Tue, 21 Oct 2014 09:46:06 +0800 Subject: [PATCH 5/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f43781e..c8f2c57b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ weixin-java-tools me.chanjar weixin-java-tools - 1.0.1 + 1.0.2 ``` From 88cfe40eacb54280979f6f38c243881d43d771d6 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Thu, 22 Jan 2015 14:23:13 +0800 Subject: [PATCH 6/7] upgrade to 1.1.0 --- pom.xml | 2 +- weixin-java-common/pom.xml | 2 +- weixin-java-cp/pom.xml | 2 +- weixin-java-mp/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 056d4828..7de1e64e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 me.chanjar weixin-java-parent - 1.1.0-SNAPSHOT + 1.1.0 pom WeiXin Java Tools - Parent 微信公众号、企业号上级POM diff --git a/weixin-java-common/pom.xml b/weixin-java-common/pom.xml index 647886fe..36ba4c78 100644 --- a/weixin-java-common/pom.xml +++ b/weixin-java-common/pom.xml @@ -6,7 +6,7 @@ me.chanjar weixin-java-parent - 1.1.0-SNAPSHOT + 1.1.0 weixin-java-common diff --git a/weixin-java-cp/pom.xml b/weixin-java-cp/pom.xml index 50d8ebe4..9fd5567d 100644 --- a/weixin-java-cp/pom.xml +++ b/weixin-java-cp/pom.xml @@ -6,7 +6,7 @@ me.chanjar weixin-java-parent - 1.1.0-SNAPSHOT + 1.1.0 weixin-java-cp diff --git a/weixin-java-mp/pom.xml b/weixin-java-mp/pom.xml index 61d4972b..9ef017a3 100644 --- a/weixin-java-mp/pom.xml +++ b/weixin-java-mp/pom.xml @@ -6,7 +6,7 @@ me.chanjar weixin-java-parent - 1.1.0-SNAPSHOT + 1.1.0 weixin-java-mp WeiXin Java Tools - MP From 4d6321e69b891de8528c0175db58d91396455c73 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Thu, 22 Jan 2015 14:48:18 +0800 Subject: [PATCH 7/7] modify readme --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index abc1a16e..56f585c4 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,6 @@ weixin-java-tools 微信公众号、企业号Java SDK。 -从``1.0.3``开始,本项目拆分成3个部分: - -1. weixin-java-common,公共lib -2. weixin-java-cp,企业号SDK -3. weixin-java-mp,公众号(订阅号、服务号)SDK - 详细文档请看 [wiki](https://github.com/chanjarster/weixin-java-tools/wiki)。 ## Quick Start @@ -19,7 +13,7 @@ weixin-java-tools me.chanjar weixin-java-mp - 1.0.7 + 1.1.0 ``` @@ -29,7 +23,7 @@ weixin-java-tools me.chanjar weixin-java-cp - 1.0.7 + 1.1.0 ``` @@ -45,12 +39,4 @@ weixin-java-tools https://oss.sonatype.org/content/repositories/snapshots/ -``` - -## 升级指南 - -原``1.0.0~1.0.2``版本用户无法平滑升级到``1.0.3``。需要做的是: - -1. maven引用``weixin-java-mp`` -2. 将原来``WxXXX``的类,改成``WxMpXXX`` -3. ``WxConsts``, ``WxError``, ``WxMediaUploadResult``, ``WxAccessToken``, ``WxMenu``, ``WxErrorException``不要改 +``` \ No newline at end of file