增加腾讯音视频上传完成回调成功日志及修改mapper
This commit is contained in:
@@ -3,7 +3,6 @@ package com.cool.store.service.impl;
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import cn.hutool.core.date.DateUnit;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.cool.store.service.impl;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import cn.hutool.core.date.DateUnit;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import com.cool.store.dao.HyInterviewDAO;
|
||||
import com.cool.store.dto.partner.EnterInterviewDto;
|
||||
@@ -19,7 +18,6 @@ import com.cool.store.request.ModifyInterviewTimeReq;
|
||||
import com.cool.store.service.PartnerInterviewService;
|
||||
import com.cool.store.utils.TRTCUtils;
|
||||
import com.cool.store.vo.EnterInterviewVO;
|
||||
import com.cool.store.vo.EnterpriseUserBaseInfoVO;
|
||||
import com.cool.store.vo.PartnerInterviewInfoVO;
|
||||
import com.cool.store.vo.PartnerPassLetterDetailVO;
|
||||
import com.cool.store.vo.interview.InterviewVO;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.cool.store.service.impl;
|
||||
|
||||
import com.cool.store.mapper.TRTCVideoCallBackMapper;
|
||||
import com.cool.store.mapper.HyPartnerInterviewMapper;
|
||||
import com.cool.store.request.TRTCVideoCallBackReq;
|
||||
import com.cool.store.service.TRTCVideoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -10,7 +10,7 @@ import org.springframework.stereotype.Service;
|
||||
public class TRTCVideoServiceImpl implements TRTCVideoService {
|
||||
|
||||
@Autowired
|
||||
private TRTCVideoCallBackMapper videoCallBackMapper;
|
||||
private HyPartnerInterviewMapper interviewMapper;
|
||||
|
||||
/**
|
||||
* 音视频上传成功后的回调处理
|
||||
@@ -20,7 +20,7 @@ public class TRTCVideoServiceImpl implements TRTCVideoService {
|
||||
//将视频播放地址拼接到对应的面试信息字段中
|
||||
String videoUrl = req.getEventInfo().getPayLoad().getTencentVod().getVideoUrl();
|
||||
String roomId = req.getEventInfo().getRoomId();
|
||||
videoCallBackMapper.addVideoUrl(roomId, videoUrl);
|
||||
interviewMapper.addVideoUrl(roomId, videoUrl);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user