Commit 8d927f82 by 徐高华

备注

parent 1e409765
......@@ -151,8 +151,8 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
HmQrcodeBO hm = null;
HmLinkWxaDTO retDTO = new HmLinkWxaDTO();
log.info("小程序获取活码={},linkShortCode={},mixPhone={},memberId={},unionid={}", enterpriseId, linkShortCode,
mixPhone, memberId, unionid);
log.info("小程序获取活码={},linkShortCode={},mixPhone={},memberId={},unionid={},门店={}{}", enterpriseId, linkShortCode,
mixPhone, memberId, unionid,inStoreId , whitchStore);
HmLinkBO link = this.hmLinkService.getByLinkShortCodeCache(linkShortCode);
if (null == link) {
log.error("链接记录不存,linkShortCode={}", linkShortCode);
......@@ -205,6 +205,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
if (null == hm) {
return ServiceResponse.failure(HaoBanErrCode.ERR_OTHER.getCode(), "导购活码不存在");
}
retDTO.setSm("会员选门店活码");
}
}
// 会员门店
......@@ -245,6 +246,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
hm = this.getHmFormStore(wxEnterpriseId, mainStoreId, fwStore.getDz(), fwStore.getDy());
}
}
if(null != hm) {
retDTO.setSm("会员主门店活码");
}
// 协管门店
List<MemberStoreClerkDataDTO> list = member.getStoreClerkRel();
if (null == hm && null != xgStore && CollectionUtils.isNotEmpty(list)) {
......@@ -283,6 +287,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
}
if(null != hm) {
retDTO.setSm("会员协管活码");
}
}
}
}
......
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