|
|
@@ -2089,8 +2089,8 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
String cacheKey = buildXsyLinkCacheKey(param.getCorpId(),param.getCourseId(),param.getVideoId(),companyUserId,companyId);
|
|
|
log.info("跟踪前缀redisKey:{}",cacheKey);
|
|
|
//从redis中查询收否已经存在追踪链接
|
|
|
- String xsyTrackUrl = redisCache.getCacheObject(cacheKey);
|
|
|
- if (StringUtils.isBlank(xsyTrackUrl)){
|
|
|
+// String xsyTrackUrl = redisCache.getCacheObject(cacheKey);
|
|
|
+// if (StringUtils.isBlank(xsyTrackUrl)){
|
|
|
// 失败不影响主流程
|
|
|
try {
|
|
|
if (StringUtils.isEmpty(link)) {
|
|
|
@@ -2142,6 +2142,8 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
throw new RuntimeException("生成追踪链接失败,msg=" + response.getMsg());
|
|
|
}
|
|
|
|
|
|
+ log.info("销售易返回:{}",response);
|
|
|
+
|
|
|
if (response.getData() == null
|
|
|
|| response.getData().getTrackedMaterials() == null
|
|
|
|| response.getData().getTrackedMaterials().isEmpty()
|
|
|
@@ -2156,8 +2158,8 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
st.setLinkUrl(xsyRedirectUrl);
|
|
|
|
|
|
//将追踪链接存入redis
|
|
|
- redisCache.setCacheObject(cacheKey, xsyRedirectUrl, 10, TimeUnit.DAYS);
|
|
|
- log.info("销售易追踪链接写入缓存成功,cacheKey={}, xsyRedirectUrl={}", cacheKey, xsyRedirectUrl);
|
|
|
+// redisCache.setCacheObject(cacheKey, xsyRedirectUrl, 10, TimeUnit.DAYS);
|
|
|
+// log.info("销售易追踪链接写入缓存成功,cacheKey={}, xsyRedirectUrl={}", cacheKey, xsyRedirectUrl);
|
|
|
|
|
|
log.info("销售易素材创建并生成追踪链接成功。sopId={}, userId={}, externalId={}, materialId={}, redirectUrl={}",
|
|
|
item.getSopId(), item.getFsUserId(), item.getExternalId(),
|
|
|
@@ -2173,10 +2175,10 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
st.setXsyLinkUrl(link);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
|
|
|
- st.setXsyLinkUrl(xsyTrackUrl);
|
|
|
- st.setLinkUrl(xsyTrackUrl);
|
|
|
+// st.setXsyLinkUrl(xsyTrackUrl);
|
|
|
+// st.setLinkUrl(xsyTrackUrl);
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(link)) {
|