Browse Source

update downloadUtils

Antiloveg 8 years ago
parent
commit
ba179fe491

+ 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);
 	}