|
@@ -543,7 +543,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
createParam.setCompanyUserId(Long.parseLong(companyUserId));
|
|
createParam.setCompanyUserId(Long.parseLong(companyUserId));
|
|
createParam.setCompanyId(Long.parseLong(companyId));
|
|
createParam.setCompanyId(Long.parseLong(companyId));
|
|
createParam.setChatId(groupUser.getChatId());
|
|
createParam.setChatId(groupUser.getChatId());
|
|
- createParam.setQwUserId(Long.parseLong(qwUser.getQwUserId()));
|
|
|
|
|
|
+ createParam.setQwUserId(qwUser.getId());
|
|
createParam.setDays(st.getExpiresDays());
|
|
createParam.setDays(st.getExpiresDays());
|
|
R createLink = courseLinkService.createRoomLinkUrl(createParam);
|
|
R createLink = courseLinkService.createRoomLinkUrl(createParam);
|
|
if (createLink.get("code").equals(500)) {
|
|
if (createLink.get("code").equals(500)) {
|
|
@@ -570,7 +570,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
//小程序单独
|
|
//小程序单独
|
|
case "4":
|
|
case "4":
|
|
String linkByMiniApp = createLinkByMiniApp(st, param.getCorpId(), new Date(), param.getCourseId(), param.getVideoId(),
|
|
String linkByMiniApp = createLinkByMiniApp(st, param.getCorpId(), new Date(), param.getCourseId(), param.getVideoId(),
|
|
- qwUser.getQwUserId(), qwUser.getCompanyUserId().toString(), qwUser.getCompanyId().toString(), null, config);
|
|
|
|
|
|
+ String.valueOf(qwUser.getId()), qwUser.getCompanyUserId().toString(), qwUser.getCompanyId().toString(), null, config);
|
|
|
|
|
|
if (StringUtil.strIsNullOrEmpty(config.getMiniprogramAppid())) {
|
|
if (StringUtil.strIsNullOrEmpty(config.getMiniprogramAppid())) {
|
|
log.error("配置中无小程序id,采用默认的");
|
|
log.error("配置中无小程序id,采用默认的");
|
|
@@ -639,7 +639,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
createParam.setCompanyUserId(qwUser.getCompanyUserId());
|
|
createParam.setCompanyUserId(qwUser.getCompanyUserId());
|
|
createParam.setCompanyId(qwUser.getCompanyId());
|
|
createParam.setCompanyId(qwUser.getCompanyId());
|
|
createParam.setChatId(groupChat.getChatId());
|
|
createParam.setChatId(groupChat.getChatId());
|
|
- createParam.setQwUserId(Long.parseLong(qwUser.getQwUserId()));
|
|
|
|
|
|
+ createParam.setQwUserId(qwUser.getId());
|
|
createParam.setDays(st.getExpiresDays());
|
|
createParam.setDays(st.getExpiresDays());
|
|
R createLink = courseLinkService.createRoomLinkUrl(createParam);
|
|
R createLink = courseLinkService.createRoomLinkUrl(createParam);
|
|
if (createLink.get("code").equals(500)) {
|
|
if (createLink.get("code").equals(500)) {
|
|
@@ -668,7 +668,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
//小程序单独
|
|
//小程序单独
|
|
case "4":
|
|
case "4":
|
|
String linkByMiniApp = createLinkByMiniApp(st, param.getCorpId(), new Date(), param.getCourseId(), param.getVideoId(),
|
|
String linkByMiniApp = createLinkByMiniApp(st, param.getCorpId(), new Date(), param.getCourseId(), param.getVideoId(),
|
|
- qwUser.getQwUserId(), qwUser.getCompanyUserId().toString(), qwUser.getCompanyId().toString(), null, config);
|
|
|
|
|
|
+ String.valueOf(qwUser.getId()), qwUser.getCompanyUserId().toString(), qwUser.getCompanyId().toString(), null, config);
|
|
|
|
|
|
if (StringUtil.strIsNullOrEmpty(config.getMiniprogramAppid())) {
|
|
if (StringUtil.strIsNullOrEmpty(config.getMiniprogramAppid())) {
|
|
log.error("配置中无小程序id,采用默认的");
|
|
log.error("配置中无小程序id,采用默认的");
|