1、增加卡券的api_ticket,区分jsapi_ticket,二者的获取逻辑不同;

2、增加小程序审核事件及审核事件推送消息SuccTime和Reason两个字段;
3、增加开放平台获取会员卡开卡插件参数接口。
4、增加开放平台手机端预授权接口实现;
This commit is contained in:
袁启勋
2018-09-27 08:34:07 +08:00
parent 9fcb4331c2
commit 34eb2f6aac
15 changed files with 353 additions and 27 deletions

View File

@@ -0,0 +1,22 @@
package me.chanjar.weixin.mp.bean.membercard;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
/**
* @author yqx
* @date 2018/9/19
*/
@Data
public class ActivatePluginParam {
@SerializedName("encrypt_card_id")
String encryptCardId;
@SerializedName("outer_str")
String outerStr;
@SerializedName("biz")
String biz;
}

View File

@@ -0,0 +1,18 @@
package me.chanjar.weixin.mp.bean.membercard;
import lombok.Data;
/**
* @author yqx
* @date 2018/9/19
*/
@Data
public class ActivatePluginParamResult {
private int errcode;
private String errmsg;
private String url;
}

View File

@@ -541,6 +541,21 @@ public class WxMpXmlMessage implements Serializable {
@XStreamAlias("DeviceStatus")
private Integer deviceStatus;
///////////////////////////////////////
// 小程序 审核事件
///////////////////////////////////////
/**
* 审核成功时的时间(整形),时间戳
*/
@XStreamAlias("SuccTime")
private Long succTime;
/**
* 审核失败的原因
*/
@XStreamAlias("Reason")
private String reason;
public static WxMpXmlMessage fromXml(String xml) {
//修改微信变态的消息内容格式,方便解析
xml = xml.replace("</PicList><PicList>", "");