提交 dc3eeef5 作者: 沈振路

延时客服-finish

上级 e1758e1d
......@@ -379,6 +379,7 @@ public class CustomerServiceCommonAsyncComponent {
generateDelayActivityLink(dateStr, targetReferralEntity, targetAuthInfo);
} else if (newsType.equals(CustomerCommonConstant.USUAL_LINK_NEWS_TYPE)) {
// 常用链接
generateDelayUsualLink(dateStr, targetReferralEntity, targetAuthInfo);
} else {
LOCAL_LOG.info("newsType: {}, 不需要获取链接", newsType);
}
......@@ -480,8 +481,15 @@ public class CustomerServiceCommonAsyncComponent {
}
private void generateDelayUsualLink() {
private void generateDelayUsualLink(String dateStr, ReferralEntity targetReferralEntity, AuthorizerInfo targetAuthInfo) {
try {
// 获取链接
AuthInfoVO authInfoVo = new AuthInfoVO();
authInfoVo.putPropertyValue(targetAuthInfo);
getCopyReferral(dateStr, authInfoVo, targetReferralEntity);
} catch (Exception e) {
LOCAL_LOG.warn("公众号: {} 获取链接异常: {}", targetAuthInfo.getNickName(), e.getMessage());
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论