forked from liweijie/education
教研室账号校验改为用角色校验
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ public class TeachingMaterialServiceImpl implements TeachingMaterialService {
|
||||
public void downloadTemplate(HttpServletResponse response) {
|
||||
try {
|
||||
// 从resources/template目录读取模板文件
|
||||
ClassPathResource resource = new ClassPathResource("template/教材管理.xls");
|
||||
ClassPathResource resource = new ClassPathResource("file/教材管理.xls");
|
||||
InputStream is = resource.getInputStream();
|
||||
|
||||
// 设置响应头
|
||||
|
||||
Reference in New Issue
Block a user