Skip to content

Commit

Permalink
企业微信客户联系接口缺少 Wechat-Group#2150
Browse files Browse the repository at this point in the history
有两个单词拼写错误
  • Loading branch information
pengg committed Jun 22, 2021
1 parent f23271e commit 3d3ad01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
* @return 客户转接接口实体
* @throws WxErrorException the wx error exception
*/
WxCpUserTransferResultResp trnsferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException;
WxCpUserTransferResultResp transferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException;

/**
* 企业可通过此接口,分配离职成员的客户给其他成员。
Expand Down Expand Up @@ -311,7 +311,7 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
* @return 客户转接接口实体
* @throws WxErrorException the wx error exception
*/
WxCpUserTransferResultResp resignedTrnsferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException;
WxCpUserTransferResultResp resignedTransferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException;

/**
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public WxCpUserTransferCustomerResp transferCustomer(WxCpUserTransferCustomerReq
}

@Override
public WxCpUserTransferResultResp trnsferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException {
public WxCpUserTransferResultResp transferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException {
JsonObject json = new JsonObject();
json.addProperty("cursor", cursor);
json.addProperty("handover_userid", handOverUserid);
Expand All @@ -217,7 +217,7 @@ public WxCpUserTransferCustomerResp resignedTransferCustomer(WxCpUserTransferCus
}

@Override
public WxCpUserTransferResultResp resignedTrnsferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException {
public WxCpUserTransferResultResp resignedTransferResult(@NotNull String handOverUserid, @NotNull String takeOverUserid, String cursor) throws WxErrorException {
JsonObject json = new JsonObject();
json.addProperty("cursor", cursor);
json.addProperty("handover_userid", handOverUserid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public void testTransferCustomer() throws WxErrorException {

@Test
public void testTrnsferResult() throws WxErrorException {
WxCpUserTransferResultResp result = this.wxCpService.getExternalContactService().trnsferResult("123", "234", "");
WxCpUserTransferResultResp result = this.wxCpService.getExternalContactService().transferResult("123", "234", "");
System.out.println(result);
assertNotNull(result);
}
Expand All @@ -229,7 +229,7 @@ public void testresignedTransferCustomer() throws WxErrorException {

@Test
public void testresignedTrnsferResult() throws WxErrorException {
WxCpUserTransferResultResp result = this.wxCpService.getExternalContactService().resignedTrnsferResult("123", "234", "");
WxCpUserTransferResultResp result = this.wxCpService.getExternalContactService().resignedTransferResult("123", "234", "");
System.out.println(result);
assertNotNull(result);
}
Expand Down

0 comments on commit 3d3ad01

Please sign in to comment.