From 3c94476f51df2b90787f9c7c0762a18e3094b80d Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期四, 10 七月 2025 15:01:22 +0800 Subject: [PATCH] yys 修改文件上传接口 --- src/main/java/com/ruoyi/purchase/controller/InvoicePurchaseController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ruoyi/purchase/controller/InvoicePurchaseController.java b/src/main/java/com/ruoyi/purchase/controller/InvoicePurchaseController.java index 8cd6b5b..a69d204 100644 --- a/src/main/java/com/ruoyi/purchase/controller/InvoicePurchaseController.java +++ b/src/main/java/com/ruoyi/purchase/controller/InvoicePurchaseController.java @@ -81,7 +81,7 @@ } @PostMapping("/upload") - public AjaxResult uploadFile(MultipartFile file, Long id, String type) { + public AjaxResult uploadFile(MultipartFile file, Long id, Integer type) { try { return AjaxResult.success(commonFileService.uploadFile(file, id, type)); } catch (Exception e) { -- Gitblit v1.9.3