9
9
*/
10
10
public class WxMpMassPreviewMessage implements Serializable {
11
11
private static final long serialVersionUID = 9095211638358424020L ;
12
- private String toWxUsername ;
12
+ private String toWxUserName ;
13
+ private String toWxUserOpenid ;
13
14
private String msgType ;
14
15
private String content ;
15
16
private String mediaId ;
@@ -18,12 +19,12 @@ public WxMpMassPreviewMessage() {
18
19
super ();
19
20
}
20
21
21
- public String getToWxUsername () {
22
- return this .toWxUsername ;
22
+ public String getToWxUserName () {
23
+ return this .toWxUserName ;
23
24
}
24
25
25
- public void setToWxUsername (String toWxUsername ) {
26
- this .toWxUsername = toWxUsername ;
26
+ public void setToWxUserName (String toWxUserName ) {
27
+ this .toWxUserName = toWxUserName ;
27
28
}
28
29
29
30
public String getMsgType () {
@@ -41,7 +42,7 @@ public String getMsgType() {
41
42
* 如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
42
43
* </pre>
43
44
*
44
- * @param msgType
45
+ * @param msgType 消息类型
45
46
*/
46
47
public void setMsgType (String msgType ) {
47
48
this .msgType = msgType ;
@@ -63,6 +64,14 @@ public void setMediaId(String mediaId) {
63
64
this .mediaId = mediaId ;
64
65
}
65
66
67
+ public String getToWxUserOpenid () {
68
+ return this .toWxUserOpenid ;
69
+ }
70
+
71
+ public void setToWxUserOpenid (String toWxUserOpenid ) {
72
+ this .toWxUserOpenid = toWxUserOpenid ;
73
+ }
74
+
66
75
public String toJson () {
67
76
return WxMpGsonBuilder .INSTANCE .create ().toJson (this );
68
77
}
0 commit comments