mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 04:46:50 +08:00
Merge branch 'zcwy-0724' into dev0525
This commit is contained in:
@@ -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()){
|
||||||
|
|||||||
Reference in New Issue
Block a user