File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/me/chanjar/weixin/cp/bean
test/java/me/chanjar/weixin/cp/api/impl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public static class ContactWay {
107
107
* </pre>
108
108
*/
109
109
@ SerializedName ("party" )
110
- private List <String > partys ;
110
+ private List <String > parties ;
111
111
112
112
/**
113
113
* <pre>
@@ -196,7 +196,7 @@ public enum TYPE {
196
196
* 单人
197
197
*/
198
198
@ SerializedName ("1" )
199
- SIGLE ,
199
+ SINGLE ,
200
200
201
201
/**
202
202
* 多人
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public void testAddContactWay() throws WxErrorException {
38
38
final String concatUserId = "HuangXiaoMing" ;
39
39
40
40
WxCpContactWayInfo .ContactWay wayInfo = new WxCpContactWayInfo .ContactWay ();
41
- wayInfo .setType (WxCpContactWayInfo .TYPE .SIGLE );
41
+ wayInfo .setType (WxCpContactWayInfo .TYPE .SINGLE );
42
42
wayInfo .setScene (WxCpContactWayInfo .SCENE .QRCODE );
43
43
wayInfo .setUsers (Lists .newArrayList (concatUserId ));
44
44
wayInfo .setRemark ("CreateDate:" + DateFormatUtils .ISO_8601_EXTENDED_DATETIME_FORMAT .format (new Date ()));
You can’t perform that action at this time.
0 commit comments