Skip to content

Commit

Permalink
2.8.24
Browse files Browse the repository at this point in the history
  • Loading branch information
liyi committed Oct 12, 2018
1 parent c8fec1c commit cdf59c5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ WEIXIN-POPULAR CHANGELOG
===========================
https://github.com/liyiorg/weixin-popular

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

Changes in version 2.8.23 (2018-09-12)
-------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.liyiorg</groupId>
<artifactId>weixin-popular</artifactId>
<version>2.8.24-SNAPSHOT</version>
<version>2.8.24</version>

<name>weixin-popular</name>
<description>The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.</description>
Expand Down
13 changes: 11 additions & 2 deletions src/main/java/weixin/popular/util/JsUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@

public abstract class JsUtil {

//2.5.3 2.8.2 更新
//2.5.3 2.8.2 2.8.24 更新
public static final String[] ALL_JS_API_LIST = {
//基础接口--------------------
"checkJsApi", //判断当前客户端版本是否支持指定JS接口
//分享接口--------------------
"updateAppMessageShareData",//分享到朋友及QQ
"updateTimelineShareData", //分享到朋友圈及QQ空间

"onMenuShareTimeline", //分享到朋友圈
"onMenuShareAppMessage", //分享给朋友
"onMenuShareQQ", //分享到QQ
Expand Down Expand Up @@ -62,7 +65,8 @@ public abstract class JsUtil {
"addCard", //批量添加卡券
"openCard", //查看微信卡包中的卡券
//微信支付-------------------
"chooseWXPay" //发起一个微信支付
"chooseWXPay", //发起一个微信支付
"openAddress" //共享收货地址接口
};

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

0 comments on commit cdf59c5

Please sign in to comment.