Skip to content

Commit cdf59c5

Browse files
author
liyi
committed
2.8.24
1 parent c8fec1c commit cdf59c5

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

changelog.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ WEIXIN-POPULAR CHANGELOG
22
===========================
33
https://github.com/liyiorg/weixin-popular
44

5-
Changes in version 2.8.24 (2018-10-?)
5+
Changes in version 2.8.24 (2018-10-12)
66
-------------------------------------
77
* 委托代扣 添加支付中签约接口
8+
* 委托代扣 PayUtil 添加纯签约方式
9+
* JsUtil 添加1.4 接口支持
810

911
Changes in version 2.8.23 (2018-09-12)
1012
-------------------------------------

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.liyiorg</groupId>
66
<artifactId>weixin-popular</artifactId>
7-
<version>2.8.24-SNAPSHOT</version>
7+
<version>2.8.24</version>
88

99
<name>weixin-popular</name>
1010
<description>The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.</description>

src/main/java/weixin/popular/util/JsUtil.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99

1010
public abstract class JsUtil {
1111

12-
//2.5.3 2.8.2 更新
12+
//2.5.3 2.8.2 2.8.24 更新
1313
public static final String[] ALL_JS_API_LIST = {
1414
//基础接口--------------------
1515
"checkJsApi", //判断当前客户端版本是否支持指定JS接口
1616
//分享接口--------------------
17+
"updateAppMessageShareData",//分享到朋友及QQ
18+
"updateTimelineShareData", //分享到朋友圈及QQ空间
19+
1720
"onMenuShareTimeline", //分享到朋友圈
1821
"onMenuShareAppMessage", //分享给朋友
1922
"onMenuShareQQ", //分享到QQ
@@ -62,7 +65,8 @@ public abstract class JsUtil {
6265
"addCard", //批量添加卡券
6366
"openCard", //查看微信卡包中的卡券
6467
//微信支付-------------------
65-
"chooseWXPay" //发起一个微信支付
68+
"chooseWXPay", //发起一个微信支付
69+
"openAddress" //共享收货地址接口
6670
};
6771

6872
/**
@@ -95,6 +99,9 @@ public static String generateConfigSignature(String noncestr,String jsapi_ticket
9599
* 基础接口<br>
96100
*checkJsApi 判断当前客户端版本是否支持指定JS接口<br>
97101
* 分享接口<br>
102+
*updateAppMessageShareData 分享到朋友及QQ<br>
103+
*updateTimelineShareData 分享到朋友圈及QQ空间<br>
104+
*
98105
*onMenuShareTimeline 分享到朋友圈<br>
99106
*onMenuShareAppMessage 分享给朋友<br>
100107
*onMenuShareQQ 分享到QQ<br>
@@ -144,6 +151,8 @@ public static String generateConfigSignature(String noncestr,String jsapi_ticket
144151
*openCard 查看微信卡包中的卡券<br>
145152
微信支付<br>
146153
*chooseWXPay 发起一个微信支付<br>
154+
*openAddress 共享收货地址接口<br>
155+
*
147156
* @return 配置JSON数据
148157
*/
149158
public static String generateConfigJson(String jsapi_ticket,boolean debug,String appId,String url,String... jsApiList){

0 commit comments

Comments
 (0)