File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/device Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -38,23 +38,25 @@ public void setErrMsg(String errMsg) {
38
38
}
39
39
40
40
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 ;
43
45
44
- public String getDevice_type () {
45
- return device_type ;
46
+ public String getDeviceType () {
47
+ return deviceType ;
46
48
}
47
49
48
- public void setDevice_type (String device_type ) {
49
- this .device_type = device_type ;
50
+ public void setDeviceType (String deviceType ) {
51
+ this .deviceType = deviceType ;
50
52
}
51
53
52
- public String getDevice_id () {
53
- return device_id ;
54
+ public String getDeviceId () {
55
+ return deviceId ;
54
56
}
55
57
56
- public void setDevice_id (String device_id ) {
57
- this .device_id = device_id ;
58
+ public void setDeviceId (String deviceId ) {
59
+ this .deviceId = deviceId ;
58
60
}
59
61
}
60
62
}
You can’t perform that action at this time.
0 commit comments