Skip to content

Commit 245c7cc

Browse files
author
dongfuqiang
committed
update
1 parent 3bf86c0 commit 245c7cc

File tree

1 file changed

+12
-10
lines changed
  • weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/device

1 file changed

+12
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,25 @@ public void setErrMsg(String errMsg) {
3838
}
3939

4040
private class BaseInfo {
41-
private String device_type;
42-
private String device_id;
41+
@SerializedName("device_type")
42+
private String deviceType;
43+
@SerializedName("device_id")
44+
private String deviceId;
4345

44-
public String getDevice_type() {
45-
return device_type;
46+
public String getDeviceType() {
47+
return deviceType;
4648
}
4749

48-
public void setDevice_type(String device_type) {
49-
this.device_type = device_type;
50+
public void setDeviceType(String deviceType) {
51+
this.deviceType = deviceType;
5052
}
5153

52-
public String getDevice_id() {
53-
return device_id;
54+
public String getDeviceId() {
55+
return deviceId;
5456
}
5557

56-
public void setDevice_id(String device_id) {
57-
this.device_id = device_id;
58+
public void setDeviceId(String deviceId) {
59+
this.deviceId = deviceId;
5860
}
5961
}
6062
}

0 commit comments

Comments
 (0)