Browse Source

取消/企业微信删除外部通讯录

Lgx 4 years ago
parent
commit
9c832764a6

+ 2 - 2
src/main/java/com/liangjiang11/wx/cp/controller/WxaAddContactController.java

@@ -87,8 +87,8 @@ public class WxaAddContactController {
             }
             if(inMessage.getChangeType().equals("del_external_contact")){
                 //企业微信删除
-                ExternalUser ex= externalUserService.getExternalByMobile2(inMessage.getExternalUserId());
-                externalUserService.deleteExternal(ex.getId());
+                //ExternalUser ex= externalUserService.getExternalByMobile2(inMessage.getExternalUserId());
+                //externalUserService.deleteExternal(ex.getId());
             }else{
                 //获取外部客户信息
                 WxCpUserExternalContactInfo exuser = wxCpService.getExternalContactService().getContactDetail(inMessage.getExternalUserId());