File tree Expand file tree Collapse file tree
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/message Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,6 +281,12 @@ public class WxMpXmlMessage implements Serializable {
281281 @ XStreamConverter (value = XStreamCDataConverter .class )
282282 private String deviceId ;
283283
284+ /**
285+ * 微信用户账号的OpenID
286+ */
287+ @ XStreamAlias ("OpenID" )
288+ @ XStreamConverter (value = XStreamCDataConverter .class )
289+ private String openId ;
284290
285291 @ XStreamAlias ("HardWare" )
286292 private HardWare hardWare = new HardWare ();
@@ -375,6 +381,14 @@ public void setDeviceId(String deviceId) {
375381 this .deviceId = deviceId ;
376382 }
377383
384+ public String getOpenId () {
385+ return openId ;
386+ }
387+
388+ public void setOpenId (String openId ) {
389+ this .openId = openId ;
390+ }
391+
378392 public Long getExpiredTime () {
379393 return this .expiredTime ;
380394 }
You can’t perform that action at this time.
0 commit comments