mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-15 18:55:13 +08:00
修正微信设备授权接口参数字段缺失
参见 http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-5
This commit is contained in:
@@ -14,6 +14,8 @@ public class WxDeviceAuthorize extends AbstractDeviceBean {
|
|||||||
private String deviceNum;
|
private String deviceNum;
|
||||||
@SerializedName("op_type")
|
@SerializedName("op_type")
|
||||||
private String opType;
|
private String opType;
|
||||||
|
@SerializedName("product_id")
|
||||||
|
private String productId;
|
||||||
@SerializedName("device_list")
|
@SerializedName("device_list")
|
||||||
private List<WxDevice> deviceList = new LinkedList<>();
|
private List<WxDevice> deviceList = new LinkedList<>();
|
||||||
|
|
||||||
@@ -33,6 +35,14 @@ public class WxDeviceAuthorize extends AbstractDeviceBean {
|
|||||||
this.opType = opType;
|
this.opType = opType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getProductId() {
|
||||||
|
return productId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProductId(String productId) {
|
||||||
|
this.productId = productId;
|
||||||
|
}
|
||||||
|
|
||||||
public List<WxDevice> getDeviceList() {
|
public List<WxDevice> getDeviceList() {
|
||||||
return deviceList;
|
return deviceList;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user