Commit 28aad0fe by 徐高华

Merge branch 'developer' of http://git.gicdev.com/haoban3.0/haoban-manage3.0.git into developer

parents 704930d1 0302d0f6
...@@ -138,10 +138,9 @@ public interface StaffClerkRelationApiService { ...@@ -138,10 +138,9 @@ public interface StaffClerkRelationApiService {
/** /**
* 获取config * 获取config(联系我)
* *
* @param clerkId * @param clerkId
* @param memberId
* @return * @return
*/ */
ServiceResponse<String> getClerkMemberChatConfig(String clerkId); ServiceResponse<String> getClerkMemberChatConfig(String clerkId);
......
...@@ -522,7 +522,10 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -522,7 +522,10 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
} }
return; return;
} }
String relationKey = SecureUtil.md5(staffId + dto.getExternalUserid()); String relationKey = SecureUtil.md5(staffId + dto.getExternalUserid());
// TODO: 2022/7/4 正常欢迎语还是活码
WelcomeDetailBO welcomeDetailBO = welcomeService.getMatchWelcome(staffId, wxEnterpriseId); WelcomeDetailBO welcomeDetailBO = welcomeService.getMatchWelcome(staffId, wxEnterpriseId);
if (Objects.isNull(welcomeDetailBO)) { if (Objects.isNull(welcomeDetailBO)) {
log.info("欢迎语未配置:wxEnterpriseId:{}", wxEnterpriseId); log.info("欢迎语未配置:wxEnterpriseId:{}", wxEnterpriseId);
......
...@@ -421,7 +421,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe ...@@ -421,7 +421,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
return response; return response;
} }
WxEnterpriseDTO enterpriseDTO = wxEnterpriseService.selectById(relationDTO.getWxEnterpriseId()); 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); logger.info("configId:{}", configId);
if (StringUtils.isBlank(configId)) { if (StringUtils.isBlank(configId)) {
logger.info("staff:{}", configId, JSONObject.toJSONString(relationDTO)); 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