mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
Merge branch 'zcwy-0724' into dev0525
This commit is contained in:
@@ -374,7 +374,7 @@ public class CoursePortalApi extends ApiBaseController{
|
|||||||
//取作业后缀名
|
//取作业后缀名
|
||||||
int dotIndex = e.getFilePath().lastIndexOf('/'); // 查找最后一个'.'的位置
|
int dotIndex = e.getFilePath().lastIndexOf('/'); // 查找最后一个'.'的位置
|
||||||
String extension = e.getFilePath().substring(dotIndex+1);
|
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