mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
提交作业路径修改
This commit is contained in:
@@ -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());
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user