File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11package me .chanjar .weixin .cp .api .impl ;
22
3+ import com .google .common .collect .Lists ;
34import com .google .inject .Inject ;
45import me .chanjar .weixin .cp .api .ApiTestModule ;
56import me .chanjar .weixin .cp .api .WxCpService ;
67import me .chanjar .weixin .cp .bean .Gender ;
8+ import me .chanjar .weixin .cp .bean .WxCpInviteResult ;
79import me .chanjar .weixin .cp .bean .WxCpUser ;
810import org .apache .commons .lang3 .builder .ToStringBuilder ;
911import org .apache .commons .lang3 .builder .ToStringStyle ;
@@ -88,9 +90,9 @@ public void testListSimpleByDepartment() throws Exception {
8890 }
8991
9092 @ Test
91- @ Deprecated
9293 public void testInvite () throws Exception {
93- int result = this .wxCpService .getUserService ().invite (userId , "" );
94+ WxCpInviteResult result = this .wxCpService .getUserService ().invite (
95+ Lists .newArrayList (userId ), null ,null );
9496 System .out .println (result );
9597 }
9698
You can’t perform that action at this time.
0 commit comments