|
|
@@ -727,14 +727,16 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
//3.调用生成飞书伪链接
|
|
|
- String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
-
|
|
|
- if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
-
|
|
|
- st.setLinkUrl(feishuLink);
|
|
|
- } else {
|
|
|
- log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
- }
|
|
|
+// String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+//
|
|
|
+// if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
+//
|
|
|
+// st.setLinkUrl(feishuLink);
|
|
|
+// } else {
|
|
|
+// log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
+// }
|
|
|
+ String feishuLink = "https://www.feishu.cn/docx/"+shortCode;
|
|
|
+ st.setLinkUrl(feishuLink);
|
|
|
break;
|
|
|
case "19":
|
|
|
String qwUserId = qwUser.getQwUserId();
|
|
|
@@ -908,14 +910,16 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
//3.调用生成飞书伪链接
|
|
|
- String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
-
|
|
|
- if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
-
|
|
|
- st.setLinkUrl(feishuLink);
|
|
|
- } else {
|
|
|
- log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
- }
|
|
|
+// String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+//
|
|
|
+// if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
+//
|
|
|
+// st.setLinkUrl(feishuLink);
|
|
|
+// } else {
|
|
|
+// log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
+// }
|
|
|
+ String feishuLink = "https://www.feishu.cn/docx/"+shortCode;
|
|
|
+ st.setLinkUrl(feishuLink);
|
|
|
break;
|
|
|
case "19":
|
|
|
String qwUserId = qwUser.getQwUserId();
|
|
|
@@ -1273,14 +1277,16 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
//3.调用生成飞书伪链接
|
|
|
- String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
-
|
|
|
- if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
-
|
|
|
- st.setLinkUrl(feishuLink);
|
|
|
- } else {
|
|
|
- log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
- }
|
|
|
+// String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+//
|
|
|
+// if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
+//
|
|
|
+// st.setLinkUrl(feishuLink);
|
|
|
+// } else {
|
|
|
+// log.error("生成飞书注册链接失败,sopId={}", param.getSopId());
|
|
|
+// }
|
|
|
+ String feishuLink = "https://www.feishu.cn/docx/"+shortCode;
|
|
|
+ st.setLinkUrl(feishuLink);
|
|
|
break;
|
|
|
case "19":
|
|
|
Long notionWatchLogId = addNotionWatchLog(param.getSopId(), param.getVideoId(), param.getCourseId(),
|
|
|
@@ -1978,9 +1984,8 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
String shortLink = feishuH5Link.get("link");
|
|
|
log.info("课程短链接生成成功:{}", shortLink);
|
|
|
//3.调用生成飞书伪链接
|
|
|
- //3.调用生成飞书注册授权链接
|
|
|
- String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortLink);
|
|
|
-
|
|
|
+ //String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortLink);
|
|
|
+ String feishuLink = "https://www.feishu.cn/docx/"+shortLink;
|
|
|
if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
// 替换占位符
|
|
|
String txt = StringUtil.strIsNullOrEmpty(qwUser.getWelcomeText()) ? "" : qwUser.getWelcomeText();
|