Merge branch 'zcwy-0724' into dev0525

This commit is contained in:
nisen
2024-07-25 14:13:40 +08:00

View File

@@ -387,7 +387,7 @@ public class CoursePortalApi extends ApiBaseController{
String extension = e.getFile().substring(dotIndex); String extension = e.getFile().substring(dotIndex);
//判断是否有目录 //判断是否有目录
if(!courseSections.isEmpty()){ if(!courseSections.isEmpty()){
map.put(courseSections.get(0).getName()+"--"+courseContent.getContentName()+extension, e.getFile()); map.put(courseSections.get(0).getName()+"--"+courseContent.getContentName()+extension, "/home/www/elearning/upload"+e.getFile());
}else { }else {
Course course=courseDao.get(e.getCourseId()); Course course=courseDao.get(e.getCourseId());
if(course==null || course.getDeleted()){ if(course==null || course.getDeleted()){