mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
视频暂存为空判断
This commit is contained in:
@@ -540,7 +540,7 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
//检查是否已存在
|
//检查是否已存在
|
||||||
try {
|
try {
|
||||||
studyService.updateLastTime(itemId,videoTime, getCurrent().getAccountId());
|
studyService.updateLastTime(itemId,videoTime, getCurrent().getAccountId());
|
||||||
if (contentId != null && courseId != null){
|
if (contentId != null && courseId != null && progressVideo != null){
|
||||||
contentService.updateProcessVideo(contentId, courseId, progressVideo);
|
contentService.updateProcessVideo(contentId, courseId, progressVideo);
|
||||||
}
|
}
|
||||||
return success(true);
|
return success(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user