瀏覽代碼

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

参见 http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-5
master
Zhao Jingchen 8 年之前
父節點
當前提交
cb6712065d
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/device/WxDeviceAuthorize.java

+ 10
- 0
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/device/WxDeviceAuthorize.java 查看文件

@@ -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;
}


Loading…
取消
儲存