lxw
2023-02-10 af511ac16be78047e0a41eed4852e95ddf966649
src/main/java/com/whyc/controller/TestController.java
@@ -68,7 +68,8 @@
    @PostMapping("/export")
    @ApiOperation(value = "文件导出")
    public void export(HttpServletRequest req, HttpServletResponse resp ){
        String suffix=req.getParameter("suffix").toLowerCase(Locale.ROOT);
        String filePath = req.getParameter("filePath");
        String suffix=filePath.substring(filePath.lastIndexOf(".")+1).toLowerCase(Locale.ROOT);
        switch (suffix){
            case "fbx":exportService.exportFbx(req,resp);
                break;