diff --git a/CHANGE.md b/CHANGE.md
index 648093e9..8a7bbcc6 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -365,4 +365,6 @@
* 2015-07-04
- + **weixin4j-qy**: 新增[媒体素材接口](weixin4j-qy/src/main/java/com/foxinmy/weixin4j/qy/api/MediaApi.java)
\ No newline at end of file
+ + **weixin4j-qy**: 新增[媒体素材接口](weixin4j-qy/src/main/java/com/foxinmy/weixin4j/qy/api/MediaApi.java)
+
+ + released 1.5.1
\ No newline at end of file
diff --git a/README.md b/README.md
index b4b3944e..1c336ee1 100644
--- a/README.md
+++ b/README.md
@@ -26,26 +26,26 @@ weixin4j
如何获取
----------
###1.maven依赖
-微信公众平台API(1.5.0,2015-06-10 released)
+微信公众平台API(1.5.1,2015-07-04 released)
com.foxinmy
weixin4j-mp
- 1.5.0
+ 1.5.1
-微信企业号API(1.5.0,2015-06-10 released)
+微信企业号API(1.5.1,2015-07-04 released)
com.foxinmy
weixin4j-qy
- 1.5.0
+ 1.5.1
-微信被动消息服务器(1.0.2,2015-06-10 released)
+微信被动消息服务器(1.0.3,2015-07-04 released)
com.foxinmy
weixin4j-server
- 1.0.2
+ 1.0.3
以上依赖如果出现Missing artifact错误 请尝试在eclipse里这么做
diff --git a/pom.xml b/pom.xml
index 2797bc6f..46f7443a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.foxinmy
weixin4j
- 1.5.0
+ 1.5.1
pom
weixin4j
https://github.com/foxinmy/weixin4j
@@ -243,6 +243,7 @@
+
+
+
+ releases
+ Internal Releases
+ http://42.62.64.62:8081/nexus/content/repositories/releases/
+
+
+
+ snapshots
+ Internal Snapshots
+ http://42.62.64.62:8081/nexus/content/repositories/snapshots/
+
+
+
+
+
+
+ true
+
+
+ true
+
+ public
+ Public Repositories
+ http://42.62.64.62:8081/nexus/content/groups/public/
+
+
+
+
+
+ true
+
+
+ true
+
+ public
+ Public Repositories
+ http://42.62.64.62:8081/nexus/content/groups/public/
+
+
\ No newline at end of file
diff --git a/weixin4j-base/pom.xml b/weixin4j-base/pom.xml
index f9276d88..40e4e317 100644
--- a/weixin4j-base/pom.xml
+++ b/weixin4j-base/pom.xml
@@ -5,7 +5,7 @@
com.foxinmy
weixin4j
- 1.5.0
+ 1.5.1
weixin4j-base
weixin4j-base
diff --git a/weixin4j-mp/CHANGE.md b/weixin4j-mp/CHANGE.md
index af6b475f..621507b2 100644
--- a/weixin4j-mp/CHANGE.md
+++ b/weixin4j-mp/CHANGE.md
@@ -116,4 +116,8 @@
* 2015-06-23
- + 新增企业付款查询接口
\ No newline at end of file
+ + 新增企业付款查询接口
+
+* 2015-07-04
+
+ + released 1.5.1
\ No newline at end of file
diff --git a/weixin4j-mp/README.md b/weixin4j-mp/README.md
index e64eeb20..450490a6 100644
--- a/weixin4j-mp/README.md
+++ b/weixin4j-mp/README.md
@@ -43,12 +43,12 @@ weixin4j-mp
如何使用
--------
-0.maven依赖(1.5.0,2015-06-10 released)
+0.maven依赖(1.5.1,2015-07-04 released)
com.foxinmy
weixin4j-mp
- 1.5.0
+ 1.5.1
1.需新增或拷贝`weixin4j.properties`文件到项目的`classpath`中
diff --git a/weixin4j-mp/pom.xml b/weixin4j-mp/pom.xml
index c082e094..8e8d1888 100644
--- a/weixin4j-mp/pom.xml
+++ b/weixin4j-mp/pom.xml
@@ -5,7 +5,7 @@
com.foxinmy
weixin4j
- 1.5.0
+ 1.5.1
weixin4j-mp
weixin4j-mp
diff --git a/weixin4j-qy/CHANGE.md b/weixin4j-qy/CHANGE.md
index e938ab3e..04af086c 100644
--- a/weixin4j-qy/CHANGE.md
+++ b/weixin4j-qy/CHANGE.md
@@ -72,4 +72,6 @@
* 2015-07-04
- + 新增[媒体素材接口](src/main/java/com/foxinmy/weixin4j/qy/api/MediaApi.java)
\ No newline at end of file
+ + 新增[媒体素材接口](src/main/java/com/foxinmy/weixin4j/qy/api/MediaApi.java)
+
+ + released 1.5.1
\ No newline at end of file
diff --git a/weixin4j-qy/README.md b/weixin4j-qy/README.md
index 14eeac8e..96373168 100644
--- a/weixin4j-qy/README.md
+++ b/weixin4j-qy/README.md
@@ -35,12 +35,12 @@ weixin4j-qy
如何使用
--------
-0.maven依赖(1.5.0,2015-06-10 released)
+0.maven依赖(1.5.1,2015-07-04 released)
com.foxinmy
weixin4j-qy
- 1.5.0
+ 1.5.1
1.需新增或拷贝`weixin4j.properties`文件到项目的`classpath`中
diff --git a/weixin4j-qy/pom.xml b/weixin4j-qy/pom.xml
index 3c827a00..bcf3d095 100644
--- a/weixin4j-qy/pom.xml
+++ b/weixin4j-qy/pom.xml
@@ -5,7 +5,7 @@
com.foxinmy
weixin4j
- 1.5.0
+ 1.5.1
weixin4j-qy
weixin4j-qy
diff --git a/weixin4j-qy/src/main/resources/weixin4j.properties b/weixin4j-qy/src/main/resources/weixin4j.properties
index ee64af0f..10ba4d69 100644
--- a/weixin4j-qy/src/main/resources/weixin4j.properties
+++ b/weixin4j-qy/src/main/resources/weixin4j.properties
@@ -1,6 +1,6 @@
# \u6d4b\u8bd5\u4e4b\u7528 \u6b63\u5f0f\u73af\u5883\u4e0bcopy\u4e00\u4efd\u5230classpath
# \u4f01\u4e1a\u53f7\u4fe1\u606f
-account={"id":"wxf10bce209c91d0e2","secret":"cW0OtP7-7YJ7jHKFZaJW2skJHE9bLHadxOswBdVdI2walRBSPfTSA6QqD_QXw8JZ",\
+account={"id":"wx6d13cc18002bb2e5","secret":"vcCOTIb-cOzWWhL5r_qKVlfzdpInEEKPRz3K-5ezn-Xt48-tOkxPqEE5XbKLXXFn",\
"token":"gp2eGT5mIpngr",\
"encodingAesKey":"BRYfV4zPFUJb3v3MySNBg1ERKE3vyyMRoScu76vFySv",\
"suiteId":"\u5e94\u7528\u5957\u4ef6\u7684id","suiteSecret":"\u5e94\u7528\u5957\u4ef6\u7684secret",\
diff --git a/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/MediaTest.java b/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/MediaTest.java
index 1753704b..2fc7ce8f 100644
--- a/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/MediaTest.java
+++ b/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/MediaTest.java
@@ -32,7 +32,7 @@ public class MediaTest extends TokenTest {
@Test
public void upload() throws IOException, WeixinException {
File file = new File("//Users/jy/Downloads/import_file.csv");
- String mediaId = mediaApi.uploadMedia(1, file);
+ String mediaId = mediaApi.uploadMedia(3, file);
// 1-1gpykXsR8bhNvO13-ZvskptCBxQF1UE535jFdCF63N2inGRAqEb-psF6eppjIIl
// 1CF6sBgWWFGY9s4JCEet5ASszsTuyHpeN1f2LWXADveqBlKoxSgb3cO401NEM7dNY
Assert.assertNotNull(mediaId);
@@ -42,8 +42,8 @@ public class MediaTest extends TokenTest {
@Test
public void download() throws WeixinException, IOException {
File file = mediaApi
- .downloadMediaFile(1,
- "jM5OWhnYb2DgrNm97HGj8aUdsZcweQc93tnwbH1mERo");
+ .downloadMediaFile(3,
+ "272LZlRmz1h7V2lcsvouCxwbJ_Dh-rgdDecX_26f_HDzJSZiSZjBeqeSYI1r9Ad9q66iWTGmRDUFgWOvz_fGVGi1BRZ4wjtkhPe2XcK-oomk");
Assert.assertTrue(file.exists());
}
diff --git a/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/UserTest.java b/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/UserTest.java
index e5437666..fa8f0739 100644
--- a/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/UserTest.java
+++ b/weixin4j-qy/src/test/java/com/foxinmy/weixin4j/qy/test/UserTest.java
@@ -90,7 +90,6 @@ public class UserTest extends TokenTest {
@Test
public void convert() throws WeixinException {
String[] result = userApi.userid2openid("jinyu", 1);
- System.err.println(result);
System.err.println(userApi.openid2userid(result[0]));
}
}
diff --git a/weixin4j-server/CHANGE.md b/weixin4j-server/CHANGE.md
index b64afb14..4c0f085d 100644
--- a/weixin4j-server/CHANGE.md
+++ b/weixin4j-server/CHANGE.md
@@ -52,4 +52,8 @@
* 2015-06-10
- + released 1.0.2
\ No newline at end of file
+ + released 1.0.2
+
+* 2015-07-04
+
+ + released 1.0.3
\ No newline at end of file
diff --git a/weixin4j-server/README.md b/weixin4j-server/README.md
index 081c1239..5ab2d354 100644
--- a/weixin4j-server/README.md
+++ b/weixin4j-server/README.md
@@ -15,19 +15,19 @@ base on netty.
如何使用
-------
-###maven依赖(1.0.2,2015-06-10 released)
+###maven依赖(1.0.3,2015-07-04 released)
com.foxinmy
weixin4j-server
- 1.0.2
+ 1.0.3
###编写服务启动类
明文模式并总是调试输出微信请求信息的服务启动类.
public class MessageServerStartup{
public static void main(String[] args) {
- new WeixinServerBootstrap("开发者token").addHandler(
+ new WeixinServerBootstrap("appid或微信原始ID","开发者token").addHandler(
DebugMessageHandler.global).startup();
}
}
diff --git a/weixin4j-server/pom.xml b/weixin4j-server/pom.xml
index fb7eb3d8..e625f622 100644
--- a/weixin4j-server/pom.xml
+++ b/weixin4j-server/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.foxinmy
weixin4j-server
- 1.0.2
+ 1.0.3
weixin4j-server
https://github.com/foxinmy/weixin4j/tree/master/weixin4j-server
微信消息netty服务器
@@ -235,6 +235,7 @@
+
+
+
+ releases
+ Internal Releases
+ http://42.62.64.62:8081/nexus/content/repositories/releases/
+
+
+
+ snapshots
+ Internal Snapshots
+ http://42.62.64.62:8081/nexus/content/repositories/snapshots/
+
+
+
+
+
+
+ true
+
+
+ true
+
+ public
+ Public Repositories
+ http://42.62.64.62:8081/nexus/content/groups/public/
+
+
+
+
+
+ true
+
+
+ true
+
+ public
+ Public Repositories
+ http://42.62.64.62:8081/nexus/content/groups/public/
+
+
\ No newline at end of file