zss
2 天以前 bb6d3de7c1758fc0e4d3e8e2f364c28b501e65b4
src/main/java/com/ruoyi/other/controller/TempFileController.java
@@ -33,6 +33,15 @@
        }
    }
    @PostMapping("/uploadByCommon")
    public AjaxResult uploadByCommon(MultipartFile file, Integer type, Long id) {
        try {
            return AjaxResult.success(tempFileService.uploadByCommon(file, type,id));
        } catch (Exception e) {
            return AjaxResult.error(e.getMessage());
        }
    }
    @PostMapping("uploadFile")
    public AjaxResult uploadFile(@RequestBody ProductRecordDto productRecordDto) {
        try {