maven
2 天以前 f6e755678fab0ccd8001523d29dc2efaa8d5810c
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 {