mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
1、增加卡券的api_ticket,区分jsapi_ticket,二者的获取逻辑不同;
2、增加小程序审核事件及审核事件推送消息SuccTime和Reason两个字段; 3、增加开放平台获取会员卡开卡插件参数接口。 4、增加开放平台手机端预授权接口实现;
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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>", "");
|
||||
|
||||
Reference in New Issue
Block a user