Skip to content

Commit cb67120

Browse files
committed
修正微信设备授权接口参数字段缺失
参见 http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-5
1 parent 87770f4 commit cb67120

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/device/WxDeviceAuthorize.java‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ public class WxDeviceAuthorize extends AbstractDeviceBean {
1414
private String deviceNum;
1515
@SerializedName("op_type")
1616
private String opType;
17+
@SerializedName("product_id")
18+
private String productId;
1719
@SerializedName("device_list")
1820
private List<WxDevice> deviceList = new LinkedList<>();
1921

@@ -33,6 +35,14 @@ public void setOpType(String opType) {
3335
this.opType = opType;
3436
}
3537

38+
public String getProductId() {
39+
return productId;
40+
}
41+
42+
public void setProductId(String productId) {
43+
this.productId = productId;
44+
}
45+
3646
public List<WxDevice> getDeviceList() {
3747
return deviceList;
3848
}

0 commit comments

Comments
 (0)