Commit 3965c206 by 墨竹

fix:不用我们的活码兼容

parent a16078e8
......@@ -406,6 +406,16 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
if (hmLinkBO != null) {
memberLabelId = hmLinkBO.getMemberLabelId();
}
} else {
//不是我们的活码
TabHaobanClerkMainStoreRelated mainStoreRelated = clerkMainStoreRelatedService.getMainStoreByStaffId(staffId, wxEnterpriseId);
if (mainStoreRelated == null) {
log.info("【新增外部联系人】主门店为空:{}", staffId);
// 无主门店仅发送欢迎语
sendWelcome(dto, wxEnterpriseDTO, null, staffId, null);
return;
}
staffClerkRelationDTO = staffClerkRelationService.getOneBindByStoreId(staffId, mainStoreRelated.getStoreId());
}
if (hmId != null && hmQrcodeDTO != null) {
log.info("计算活码的上限和加好友数量:{}", hmId);
......
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