From e674a8fa1469e5430f08c53a1715f65457dbf211 Mon Sep 17 00:00:00 2001 From: liyi Date: Wed, 17 Jul 2019 12:37:24 +0800 Subject: [PATCH] =?UTF-8?q?#199=20=E5=88=B7=E5=8D=A1=E6=94=AF=E4=BB=98=20?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E7=A0=81=E6=9F=A5=E8=AF=A2OPENID=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20=E6=B7=BB=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=AD=97?= =?UTF-8?q?=E6=AE=B5sub=5Fopenid=20#207=20=E5=88=86=E8=B4=A6=E6=8E=A5?= =?UTF-8?q?=E6=94=B6=E6=96=B9=E6=B7=BB=E5=8A=A0=E5=8F=82=E6=95=B0=20relati?= =?UTF-8?q?on=5Ftype,custom=5Frelation=20#208=20=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=B9=B3=E5=8F=B0=E4=BB=A3=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E5=AE=A1=E6=A0=B8=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8F=82=E6=95=B0=20third=5Fclass,first=5Fid,second?= =?UTF-8?q?=5Fid,third=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- changelog.txt | 6 +++++ pom.xml | 2 +- src/main/java/weixin/popular/Version.java | 2 +- .../bean/paymch/AuthcodetoopenidResult.java | 13 +++++++++++ .../bean/paymch/ReceiverOperation.java | 22 +++++++++++++++++++ 6 files changed, 44 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03ad467b..7c8ae09e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ weixin-popular 已支持的微信平台 com.github.liyiorg weixin-popular - 2.8.27 + 2.8.28 ``` * [升级注意事项](https://github.com/liyiorg/weixin-popular/wiki/jar_update) diff --git a/changelog.txt b/changelog.txt index b9cfb715..0ca3e005 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,12 @@ WEIXIN-POPULAR CHANGELOG =========================== https://github.com/liyiorg/weixin-popular +Changes in version 2.8.28 (2019-07-?) +------------------------------------- +* #199 刷卡支付 授权码查询OPENID接口 添加返回字段sub_openid +* #207 分账接收方添加参数 relation_type,custom_relation +* #208 第三方平台代小程序提交代码审核新增参数 third_class,first_id,second_id,third_id + Changes in version 2.8.27 (2019-05-10) ------------------------------------- * #198 MenuAPI 创建个性化菜单返回menuid diff --git a/pom.xml b/pom.xml index 685974ae..21b96cd3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.github.liyiorg weixin-popular - 2.8.27 + 2.8.28-SNAPSHOT weixin-popular The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com. diff --git a/src/main/java/weixin/popular/Version.java b/src/main/java/weixin/popular/Version.java index f3f66848..f4daf61b 100644 --- a/src/main/java/weixin/popular/Version.java +++ b/src/main/java/weixin/popular/Version.java @@ -2,5 +2,5 @@ public interface Version { - String VERSION = "2.8.27"; + String VERSION = "2.8.28"; } diff --git a/src/main/java/weixin/popular/bean/paymch/AuthcodetoopenidResult.java b/src/main/java/weixin/popular/bean/paymch/AuthcodetoopenidResult.java index 14ae711f..0a8fe8fc 100644 --- a/src/main/java/weixin/popular/bean/paymch/AuthcodetoopenidResult.java +++ b/src/main/java/weixin/popular/bean/paymch/AuthcodetoopenidResult.java @@ -16,6 +16,9 @@ public class AuthcodetoopenidResult extends MchBase{ @XmlElement private String openid; + + @XmlElement + private String sub_openid; public String getOpenid() { return openid; @@ -24,5 +27,15 @@ public String getOpenid() { public void setOpenid(String openid) { this.openid = openid; } + + public String getSub_openid() { + return sub_openid; + } + + public void setSub_openid(String sub_openid) { + this.sub_openid = sub_openid; + } + + } diff --git a/src/main/java/weixin/popular/bean/paymch/ReceiverOperation.java b/src/main/java/weixin/popular/bean/paymch/ReceiverOperation.java index c0761eb1..d999b26e 100644 --- a/src/main/java/weixin/popular/bean/paymch/ReceiverOperation.java +++ b/src/main/java/weixin/popular/bean/paymch/ReceiverOperation.java @@ -11,6 +11,10 @@ public class ReceiverOperation { private String account; private String name; + + private String relation_type; + + private String custom_relation; public String getType() { return type; @@ -35,6 +39,24 @@ public String getName() { public void setName(String name) { this.name = name; } + + public String getRelation_type() { + return relation_type; + } + + public void setRelation_type(String relation_type) { + this.relation_type = relation_type; + } + + public String getCustom_relation() { + return custom_relation; + } + + public void setCustom_relation(String custom_relation) { + this.custom_relation = custom_relation; + } + + static class JsonXmlAdapter extends XmlAdapter {