Skip to content

Commit fe800cd

Browse files
author
dongfuqiang
committed
申请设备二维码接口的返回格式有变动,做出相应更改。
1 parent ecfad5b commit fe800cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
/**
77
* Created by keungtung on 10/12/2016.
88
*/
9-
public class WxDeviceQrCodeResult extends AbstractDeviceBean{
9+
public class WxDeviceQrCodeResult extends AbstractDeviceBean {
1010
@SerializedName("deviceid")
1111
private String deviceId;
1212
@SerializedName("qrticket")
1313
private String qrTicket;
1414
@SerializedName("devicelicence")
1515
private String deviceLicence;
16-
@SerializedName("resp_msg")
17-
private RespMsg respMsg;
16+
@SerializedName("base_resp")
17+
private BaseResp baseResp;
1818

1919
public static WxDeviceQrCodeResult fromJson(String json) {
2020
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxDeviceQrCodeResult.class);
@@ -28,12 +28,12 @@ public void setDeviceLicence(String deviceLicence) {
2828
this.deviceLicence = deviceLicence;
2929
}
3030

31-
public RespMsg getRespMsg() {
32-
return respMsg;
31+
public BaseResp getBaseResp() {
32+
return baseResp;
3333
}
3434

35-
public void setRespMsg(RespMsg respMsg) {
36-
this.respMsg = respMsg;
35+
public void setBaseResp(BaseResp baseResp) {
36+
this.baseResp = baseResp;
3737
}
3838

3939
public String getDeviceId() {

0 commit comments

Comments
 (0)