mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🆕 #2981 【企业微信】增加根据邮箱获取用户Userid的接口方法
This commit is contained in:
@@ -178,6 +178,18 @@ public class WxCpUserServiceImplTest {
|
||||
assertNotNull(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test get user id by email.
|
||||
*
|
||||
* @throws WxErrorException the wx error exception
|
||||
*/
|
||||
@Test
|
||||
public void testGetUserIdByEmail() throws WxErrorException {
|
||||
String result = this.wxCpService.getUserService().getUserIdByEmail("xxx",1);
|
||||
System.out.println(result);
|
||||
assertNotNull(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test get external contact.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user