教研室账号校验改为用角色校验

This commit is contained in:
2026-09-18 19:31:53 +08:00
parent 5a3d202599
commit 7096873e2c
3 changed files with 16 additions and 2 deletions
@@ -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();
// 设置响应头