Antiloveg пре 9 година
родитељ
комит
ba179fe491
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/main/java/com/goafanti/common/controller/PublicController.java

+ 0 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -262,7 +262,6 @@ public class PublicController extends BaseController {
 	@RequestMapping(value = "/downloadFile", method = RequestMethod.GET)
 	public Result downloadFile(String fileName, HttpServletResponse response, String path) {
 		Result res = new Result();
-		fileName = fileName + path.substring(path.lastIndexOf("."));
 		return handleDownloadFile(response, fileName, path, res);
 	}