1
0
mirror of synced 2025-12-23 10:39:27 +08:00

🆕 #2981 【企业微信】增加根据邮箱获取用户Userid的接口方法

This commit is contained in:
ID_Wangqiang
2023-04-19 22:03:26 +08:00
committed by GitHub
parent 087870ed0c
commit 22a29c51c0
4 changed files with 44 additions and 0 deletions

View File

@@ -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.
*/