소스 검색

fixed 文件名大小写

fushengqian 5 달 전
부모
커밋
b274253126
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fuint-application/src/main/java/com/fuint/module/backendApi/controller/BackendFileController.java

+ 1 - 1
fuint-application/src/main/java/com/fuint/module/backendApi/controller/BackendFileController.java

@@ -171,7 +171,7 @@ public class BackendFileController extends BaseController {
         String token = request.getParameter("token");
         String token = request.getParameter("token");
         AccountInfo accountInfo = TokenUtil.getAccountInfoByToken(token);
         AccountInfo accountInfo = TokenUtil.getAccountInfoByToken(token);
         try {
         try {
-            URL resourceUrl = getClass().getClassLoader().getResource("goodsTemplate.xlsx");
+            URL resourceUrl = getClass().getClassLoader().getResource("GoodsTemplate.xlsx");
             String path = resourceUrl.getPath();
             String path = resourceUrl.getPath();
             File file = new File(path);
             File file = new File(path);
             String filename = file.getName();
             String filename = file.getName();