修正微信设备授权接口参数字段缺失

参见 http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-5
This commit is contained in:
Zhao Jingchen 2016-12-26 19:27:59 +08:00
parent 87770f4b3f
commit cb6712065d

View File

@ -14,6 +14,8 @@ public class WxDeviceAuthorize extends AbstractDeviceBean {
private String deviceNum;
@SerializedName("op_type")
private String opType;
@SerializedName("product_id")
private String productId;
@SerializedName("device_list")
private List<WxDevice> deviceList = new LinkedList<>();
@ -33,6 +35,14 @@ public class WxDeviceAuthorize extends AbstractDeviceBean {
this.opType = opType;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public List<WxDevice> getDeviceList() {
return deviceList;
}