From 3d3ad017bc3dd2118989efc5a4f6caca5e56817c Mon Sep 17 00:00:00 2001 From: pengg Date: Tue, 22 Jun 2021 10:51:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E8=81=94=E7=B3=BB=E6=8E=A5=E5=8F=A3=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=20#2150=20=E6=9C=89=E4=B8=A4=E4=B8=AA=E5=8D=95=E8=AF=8D?= =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/chanjar/weixin/cp/api/WxCpExternalContactService.java | 4 ++-- .../weixin/cp/api/impl/WxCpExternalContactServiceImpl.java | 4 ++-- .../cp/api/impl/WxCpExternalContactServiceImplTest.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpExternalContactService.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpExternalContactService.java index 1dcf83eb0b..cd65ad3771 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpExternalContactService.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpExternalContactService.java @@ -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; /** * 企业可通过此接口,分配离职成员的客户给其他成员。 @@ -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; /** *
diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImpl.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImpl.java
index 6a75ef4a2d..8065d21980 100644
--- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImpl.java
+++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImpl.java
@@ -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);
@@ -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);
diff --git a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImplTest.java b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImplTest.java
index 2ce5526f26..8869a6a02b 100644
--- a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImplTest.java
+++ b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpExternalContactServiceImplTest.java
@@ -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);
   }
@@ -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);
   }