From 5c1a58d067512df6099f9cc95f577c9991128163 Mon Sep 17 00:00:00 2001
From: lishenao <3065849776@qq.com>
Date: 星期一, 30 六月 2025 15:16:09 +0800
Subject: [PATCH] 入库管理,出库管理,库存管理后端接口
---
src/main/java/com/ruoyi/other/controller/TempFileController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/ruoyi/other/controller/TempFileController.java b/src/main/java/com/ruoyi/other/controller/TempFileController.java
index 6834d13..1ed7875 100644
--- a/src/main/java/com/ruoyi/other/controller/TempFileController.java
+++ b/src/main/java/com/ruoyi/other/controller/TempFileController.java
@@ -18,10 +18,10 @@
private TempFileService tempFileService;
@PostMapping("/upload")
- public AjaxResult uploadFile(MultipartFile file) {
+ public AjaxResult uploadFile(MultipartFile file, Integer type) {
try {
- return AjaxResult.success(tempFileService.uploadFile(file));
- }catch (Exception e) {
+ return AjaxResult.success(tempFileService.uploadFile(file, type));
+ } catch (Exception e) {
return AjaxResult.error(e.getMessage());
}
}
--
Gitblit v1.9.3