去掉scorm内容

This commit is contained in:
daihh
2022-12-14 14:05:58 +08:00
parent 31b9c03106
commit 97a83f6326
2 changed files with 4 additions and 9 deletions

View File

@@ -17,11 +17,6 @@
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>com.xboe</groupId>
<artifactId>xboe-module-scorm</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.xboe</groupId>
<artifactId>xboe-core</artifactId>

View File

@@ -37,7 +37,7 @@ import com.xboe.core.upload.XFileUploader;
import com.xboe.module.course.entity.CourseFile;
import com.xboe.module.course.service.ICourseFileService;
import com.xboe.module.course.service.impl.FileConverterProvider;
import com.xboe.module.scorm.SCORMParser;
//import com.xboe.module.scorm.SCORMParser;
import com.xboe.standard.BaseConstant;
import com.xboe.standard.enums.BoedxCourseFileType;
@@ -220,9 +220,9 @@ public class CourseFileApi extends ApiBaseController {
file.setConverStatus(1);//转化中
}else if(file.getFileType().equalsIgnoreCase("zip")) {
//scorm包的内容
SCORMParser scormParser=new SCORMParser();
String json = scormParser.parserToJson(fileFullPath);
file.setContent(json);
// SCORMParser scormParser=new SCORMParser();
// String json = scormParser.parserToJson(fileFullPath);
// file.setContent(json);
}
//保存
courseFileService.save(file);