mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 09:56:47 +08:00
作业导出修改上传路径
This commit is contained in:
@@ -387,7 +387,7 @@ public class CoursePortalApi extends ApiBaseController{
|
||||
String extension = e.getFile().substring(dotIndex);
|
||||
//判断是否有目录
|
||||
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 {
|
||||
Course course=courseDao.get(e.getCourseId());
|
||||
if(course==null || course.getDeleted()){
|
||||
|
||||
Reference in New Issue
Block a user