gongchunyi
3 天以前 cca82e1212056b0ec17e038912f3b0c2ba1e9c61
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 {