|
|
@@ -702,6 +702,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
break;
|
|
|
//飞书看课
|
|
|
case "18":
|
|
|
+ case "20":
|
|
|
// 参数转换
|
|
|
Integer videoId = param.getVideoId() != null ? param.getVideoId().intValue() : null;
|
|
|
Integer courseId = param.getCourseId() != null ? param.getCourseId().intValue() : null;
|
|
|
@@ -718,8 +719,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
//获取生成的课程短链码
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
- //3.调用生成飞书注册授权链接
|
|
|
-// String feishuLink = feiShuService.getFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+ //3.调用生成飞书伪链接
|
|
|
String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
|
|
|
if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
@@ -872,6 +872,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
break;
|
|
|
//飞书看课
|
|
|
case "18":
|
|
|
+ case "20":
|
|
|
// 参数转换
|
|
|
Integer videoId = param.getVideoId() != null ? param.getVideoId().intValue() : null;
|
|
|
Integer courseId = param.getCourseId() != null ? param.getCourseId().intValue() : null;
|
|
|
@@ -887,8 +888,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
//获取生成的课程短链码
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
- //3.调用生成飞书注册授权链接
|
|
|
-// String feishuLink = feiShuService.getFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+ //3.调用生成飞书伪链接
|
|
|
String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
|
|
|
if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
@@ -1203,6 +1203,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
break;
|
|
|
//飞书看课
|
|
|
case "18":
|
|
|
+ case "20":
|
|
|
// 参数转换
|
|
|
Integer videoId = param.getVideoId() != null ? param.getVideoId().intValue() : null;
|
|
|
Integer courseId = param.getCourseId() != null ? param.getCourseId().intValue() : null;
|
|
|
@@ -1237,8 +1238,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
//获取生成的课程短链码
|
|
|
String shortCode = feishuH5Link.get("link");
|
|
|
|
|
|
- //3.调用生成飞书注册授权链接
|
|
|
-// String feishuLink = feiShuService.getFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
+ //3.调用生成飞书伪链接
|
|
|
String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortCode);
|
|
|
|
|
|
if (StringUtils.isNotEmpty(feishuLink)) {
|
|
|
@@ -1896,6 +1896,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
break;
|
|
|
//飞书看课
|
|
|
case "18":
|
|
|
+ case "20":
|
|
|
// 参数转换
|
|
|
Integer videoId = param.getVideoId() != null ? param.getVideoId().intValue() : null;
|
|
|
Integer courseId = param.getCourseId() != null ? param.getCourseId().intValue() : null;
|
|
|
@@ -1930,8 +1931,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
//获取生成的课程短链码
|
|
|
String shortLink = feishuH5Link.get("link");
|
|
|
log.info("课程短链接生成成功:{}", shortLink);
|
|
|
- //3.调用生成飞书注册授权链接
|
|
|
-// String feishuLink = feiShuService.getFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortLink);
|
|
|
+ //3.调用生成飞书伪链接
|
|
|
String feishuLink = feiShuService.getNewFeishuRegisterLink(videoId.longValue(), companyIdLong, courseId.longValue(), companyUserIdLong,shortLink);
|
|
|
|
|
|
if (StringUtils.isNotEmpty(feishuLink)) {
|