Commit 32dc51fe by 墨竹

refactor:更改调用接口名称

parent 53ee6c3c
......@@ -138,10 +138,9 @@ public interface StaffClerkRelationApiService {
/**
* 获取config
* 获取config(联系我)
*
* @param clerkId
* @param memberId
* @return
*/
ServiceResponse<String> getClerkMemberChatConfig(String clerkId);
......
......@@ -522,7 +522,10 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
return;
}
String relationKey = SecureUtil.md5(staffId + dto.getExternalUserid());
// TODO: 2022/7/4 正常欢迎语还是活码
WelcomeDetailBO welcomeDetailBO = welcomeService.getMatchWelcome(staffId, wxEnterpriseId);
if (Objects.isNull(welcomeDetailBO)) {
log.info("欢迎语未配置:wxEnterpriseId:{}", wxEnterpriseId);
......
......@@ -421,7 +421,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
return response;
}
WxEnterpriseDTO enterpriseDTO = wxEnterpriseService.selectById(relationDTO.getWxEnterpriseId());
String configId = qywxUserApiService.getExternalcontactByUserId(enterpriseDTO.getCorpid(), secretSetting.getSecretVal(), send);
String configId = qywxUserApiService.getSelfExternalcontactByUserId(enterpriseDTO.getCorpid(), secretSetting.getSecretVal(), send);
logger.info("configId:{}", configId);
if (StringUtils.isBlank(configId)) {
logger.info("staff:{}", configId, JSONObject.toJSONString(relationDTO));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment