提交作业路径修改

This commit is contained in:
lu
2024-07-31 11:55:01 +08:00
parent 294949f4e5
commit 860fb3f27c

View File

@@ -374,7 +374,7 @@ public class CoursePortalApi extends ApiBaseController{
//取作业后缀名
int dotIndex = e.getFilePath().lastIndexOf('/'); // 查找最后一个'.'的位置
String extension = e.getFilePath().substring(dotIndex+1);
map.put(extension,e.getFilePath());
map.put(extension,"/home/www/elearning/upload"+e.getFilePath());
});
});