mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 18:36:51 +08:00
去掉scorm内容
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user